[vlc-commits] playlist: copy the global "sout" value in the playlist

Steve Lhomme git at videolan.org
Tue May 31 14:42:14 CEST 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Tue May 31 13:51:32 2016 +0200| [e6699de3535c1e250585bcc2eb213b7f3a9f0597] | committer: Jean-Baptiste Kempf

playlist: copy the global "sout" value in the playlist

so it can be set for all input created for this playlist instance

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e6699de3535c1e250585bcc2eb213b7f3a9f0597
---

 src/playlist/engine.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/playlist/engine.c b/src/playlist/engine.c
index 97f9e11..9f3abf0 100644
--- a/src/playlist/engine.c
+++ b/src/playlist/engine.c
@@ -470,6 +470,9 @@ static void VariablesInit( playlist_t *p_playlist )
     var_Create( p_playlist, "video-splitter", VLC_VAR_STRING | VLC_VAR_DOINHERIT );
     var_AddCallback( p_playlist, "video-splitter", VideoSplitterCallback, NULL );
 
+    /* sout variables */
+    var_Create( p_playlist, "sout", VLC_VAR_STRING | VLC_VAR_DOINHERIT );
+
     /* */
     var_Create( p_playlist, "album-art", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT );
     var_Create( p_playlist, "metadata-network-access", VLC_VAR_BOOL | VLC_VAR_DOINHERIT );



More information about the vlc-commits mailing list