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

Steve Lhomme robux4 at gmail.com
Tue May 31 13:34:00 CEST 2016


On Tue, May 31, 2016 at 1:17 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2016-05-31 13:14, Rémi Denis-Courmont a écrit :
>>
>> 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.
>
>
> Nevermind; I thought you were patching libvlc_media_player.
>
> Sorry but this patch makes no sense at all.

My bad, it should be set on a higher level that input_thread_t is
created from. So that will be the playlist for VLC and the media
player for libvlc (I haven't worked on that part yet).

I'll send the patches that need changes according to this.

>>>      /* System specific configuration */
>>>      system_Configure( p_libvlc, i_argc - vlc_optind, ppsz_argv +
>>> vlc_optind );
>
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list