[vlc-commits] commit: gui/macosx: second attempt to fix equalizer issue #3718. ( Sebastien Zwickert )

git at videolan.org git at videolan.org
Fri Jun 18 01:14:44 CEST 2010


vlc/vlc-1.1 | branch: master | Sebastien Zwickert <dilaroga at free.fr> | Thu Jun 17 19:21:35 2010 +0200| [75358c5383cc552233046e778f7149be9e482a35] | committer: Jean-Baptiste Kempf 

gui/macosx: second attempt to fix equalizer issue #3718.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 6a8df715f0f0831bab4e8344b7ff7b57d1c01964)

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

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

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

diff --git a/modules/gui/macosx/equalizer.m b/modules/gui/macosx/equalizer.m
index 93fad3f..7d16a50 100644
--- a/modules/gui/macosx/equalizer.m
+++ b/modules/gui/macosx/equalizer.m
@@ -296,7 +296,9 @@ static bool GetFiltersStatus( intf_thread_t *p_intf,
 
 - (IBAction)enable:(id)sender
 {
-    ChangeFiltersString( VLCIntf, (char *)"equalizer", [sender state] );
+//    ChangeFiltersString( VLCIntf, (char *)"equalizer", [sender state] );
+    // to fix #3718
+    aout_EnableFilter( pl_Get( VLCIntf ), (char *)"equalizer", [sender state]);
 }
 
 - (IBAction)preampSliderUpdated:(id)sender



More information about the vlc-commits mailing list