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

Rémi Denis-Courmont remi at remlab.net
Tue May 31 13:55:50 CEST 2016


Le 2016-05-31 13:51, Steve Lhomme a écrit :
> so it can be set for all input created for this playlist instance

Probably OK.

>
> --
> replaces https://patches.videolan.org/patch/13516/
> ---
>  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 );

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the vlc-devel mailing list