[vlc-devel] [PATCH] media_player: "audio-filter" var should be inheritable

Sergey Radionov rsatom at gmail.com
Sat Mar 28 04:31:10 CET 2015


fix audiobargraph usage via libvlc
---
 lib/media_player.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/media_player.c b/lib/media_player.c
index b4a5f10..56f17a9 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -471,7 +471,7 @@ libvlc_media_player_new( libvlc_instance_t *instance )
     var_Create (mp, "mute", VLC_VAR_BOOL);
     var_Create (mp, "volume", VLC_VAR_FLOAT);
     var_Create (mp, "corks", VLC_VAR_INTEGER);
-    var_Create (mp, "audio-filter", VLC_VAR_STRING);
+    var_Create (mp, "audio-filter", VLC_VAR_STRING | VLC_VAR_DOINHERIT);
     var_Create (mp, "amem-data", VLC_VAR_ADDRESS);
     var_Create (mp, "amem-setup", VLC_VAR_ADDRESS);
     var_Create (mp, "amem-cleanup", VLC_VAR_ADDRESS);
-- 
1.9.0.msysgit.0




More information about the vlc-devel mailing list