[vlc-devel] [PATCH] libvlc: allow setting the sout in the command-line

Steve Lhomme robux4 at ycbcr.xyz
Thu Nov 8 16:42:10 CET 2018


---
 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 4f4cb70291..526e4c2a4d 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -619,7 +619,7 @@ libvlc_media_player_new( libvlc_instance_t *instance )
 
     /* Input */
     var_Create (mp, "rate", VLC_VAR_FLOAT|VLC_VAR_DOINHERIT);
-    var_Create (mp, "sout", VLC_VAR_STRING);
+    var_Create (mp, "sout", VLC_VAR_STRING|VLC_VAR_DOINHERIT);
     var_Create (mp, "demux-filter", VLC_VAR_STRING);
 
     /* Video */
-- 
2.17.1



More information about the vlc-devel mailing list