[vlc-devel] [PATCH 1/5] libvlc: copy the global "sout" value in libvlc
Rémi Denis-Courmont
remi at remlab.net
Tue May 31 13:14:02 CEST 2016
Le 2016-05-31 13:08, Steve Lhomme a écrit :
> 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
> );
> +
Remove inherit. Otherwise, there will be problems if/when LibVLC
actually learns to use sout.
> /* System specific configuration */
> system_Configure( p_libvlc, i_argc - vlc_optind, ppsz_argv +
> vlc_optind );
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list