[vlc-devel] [PATCH 1/5] libvlc: copy the global "sout" value in libvlc

Steve Lhomme robux4 at videolabs.io
Tue May 31 13:08:50 CEST 2016


so it can be set for all input created for this libvlc instance
---
 src/libvlc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/libvlc.c b/src/libvlc.c
index 3468e0e..64ec7ec 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -409,6 +409,8 @@ dbus_out:
     var_Create( p_libvlc, "app-version", VLC_VAR_STRING );
     var_SetString( p_libvlc, "app-version", PACKAGE_VERSION );
 
+    var_Create( p_libvlc, "sout", VLC_VAR_STRING | VLC_VAR_DOINHERIT );
+
     /* System specific configuration */
     system_Configure( p_libvlc, i_argc - vlc_optind, ppsz_argv + vlc_optind );
 
-- 
2.7.0.windows.1



More information about the vlc-devel mailing list