[vlc-devel] [PATCH] don't hide equalizer command line options

Sébastien Toque xilasz at gmail.com
Sun Jul 28 08:30:35 CEST 2013


---
 lib/media_player.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/media_player.c b/lib/media_player.c
index b4a7250..abf3cfb 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -464,8 +464,8 @@ libvlc_media_player_new( libvlc_instance_t *instance )
     var_Create (mp, "video-title-timeout", VLC_VAR_INTEGER);
 
     /* Equalizer */
-    var_Create (mp, "equalizer-preamp", VLC_VAR_FLOAT);
-    var_Create (mp, "equalizer-bands", VLC_VAR_STRING);
+    var_Create (mp, "equalizer-preamp", VLC_VAR_FLOAT | VLC_VAR_DOINHERIT);
+    var_Create (mp, "equalizer-bands", VLC_VAR_STRING | VLC_VAR_DOINHERIT);
 
     mp->p_md = NULL;
     mp->state = libvlc_NothingSpecial;
-- 
1.7.9.5




More information about the vlc-devel mailing list