[vlc-devel] commit: skins2: fix equalizer (Erwan Tulou )
git version control
git at videolan.org
Sun Feb 21 15:38:31 CET 2010
vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Sun Feb 21 15:16:15 2010 +0100| [4210120aff8272e3ca2b60ba317a890208946103] | committer: Erwan Tulou
skins2: fix equalizer
Recent change in core(audio) now requires playlist to be passed as object
so that findAout can success (based on "find-input-callback" inheritance)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4210120aff8272e3ca2b60ba317a890208946103
---
modules/gui/skins2/commands/cmd_audio.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/modules/gui/skins2/commands/cmd_audio.cpp b/modules/gui/skins2/commands/cmd_audio.cpp
index ae7c4b7..5f9a54a 100644
--- a/modules/gui/skins2/commands/cmd_audio.cpp
+++ b/modules/gui/skins2/commands/cmd_audio.cpp
@@ -30,7 +30,9 @@
void CmdSetEqualizer::execute()
{
- aout_EnableFilter( getIntf(), "equalizer", m_enable );
+ playlist_t* pPlaylist = getIntf()->p_sys->p_playlist;
+
+ aout_EnableFilter( pPlaylist, "equalizer", m_enable );
VlcProc::instance( getIntf() )->update_equalizer();
}
More information about the vlc-devel
mailing list