]> git.sesse.net Git - vlc/commitdiff
equalizer: Use aout_EnableFilter() as we have no choice now.
authorPierre d'Herbemont <pdherbemont@free.fr>
Tue, 25 Aug 2009 23:03:29 +0000 (01:03 +0200)
committerPierre d'Herbemont <pdherbemont@free.fr>
Tue, 25 Aug 2009 23:03:29 +0000 (01:03 +0200)
modules/gui/macosx/equalizer.m

index 63b9d233ae8089702d58135c3f6ab0d12f0bc7ec..27eec614fcb12379814a87e64ffe479d1989bbb3 100644 (file)
@@ -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 )
     {