[vlc-commits] commit: gui/macosx: fixes equalizer issue #3718. (Sebastien Zwickert )

git at videolan.org git at videolan.org
Wed Jun 16 18:27:57 CEST 2010


vlc | branch: master | Sebastien Zwickert <dilaroga at free.fr> | Tue Jun 15 23:57:13 2010 +0200| [4a65401d54fef5d25742fe9b482b89072a2aa679] | committer: Jean-Baptiste Kempf 

gui/macosx: fixes equalizer issue #3718.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/gui/macosx/equalizer.m |    2 +-
 modules/gui/macosx/extended.m  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/equalizer.m b/modules/gui/macosx/equalizer.m
index 55ef738..93fad3f 100644
--- a/modules/gui/macosx/equalizer.m
+++ b/modules/gui/macosx/equalizer.m
@@ -98,7 +98,7 @@ static void ChangeFiltersString( intf_thread_t *p_intf,
          }
     }
 
-    aout_EnableFilter( p_object, psz_string, false);
+    aout_EnableFilter( pl_Get( p_intf ), psz_string, b_add);
 
     if( (BOOL)config_GetInt( p_object, "macosx-eq-keep" ) == YES )
     {
diff --git a/modules/gui/macosx/extended.m b/modules/gui/macosx/extended.m
index 3b9165e..9f11a18 100644
--- a/modules/gui/macosx/extended.m
+++ b/modules/gui/macosx/extended.m
@@ -733,7 +733,7 @@ static VLCExtended *_o_sharedInstance = nil;
     }
     else
     {
-        aout_EnableFilter( p_aout, psz_string, false );
+        aout_EnableFilter( pl_Get( p_intf ), psz_string, b_add );
     }
     free( psz_string );
 



More information about the vlc-commits mailing list