[vlc-devel] commit: equalizer: Use aout_EnableFilter() as we have no choice now. ( Pierre d'Herbemont )

git version control git at videolan.org
Wed Aug 26 01:08:10 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Wed Aug 26 01:03:29 2009 +0200| [f9ad90619a6574d1dbed5a22f341c23c66948150] | committer: Pierre d'Herbemont 

equalizer: Use aout_EnableFilter() as we have no choice now.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f9ad90619a6574d1dbed5a22f341c23c66948150
---

 modules/gui/macosx/equalizer.m |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/modules/gui/macosx/equalizer.m b/modules/gui/macosx/equalizer.m
index 63b9d23..27eec61 100644
--- a/modules/gui/macosx/equalizer.m
+++ b/modules/gui/macosx/equalizer.m
@@ -99,14 +99,7 @@ static void ChangeFiltersString( intf_thread_t *p_intf,
          }
     }
 
-    var_SetString( p_object, "audio-filter", psz_string );
-    if( p_aout )
-    {
-        for( i = 0; i < p_aout->i_nb_inputs; i++ )
-        {
-            p_aout->pp_inputs[i]->b_restart = true;
-        }
-    }
+    aout_EnableFilter( p_object, psz_string, false);
     
     if( (BOOL)config_GetInt( p_object, "macosx-eq-keep" ) == YES )
     {




More information about the vlc-devel mailing list