[vlc-devel] [PATCH] [RFC] libvlc:media: add a "sout" variable so we can update it during playback
remi at remlab.net
Wed Apr 27 09:43:50 CEST 2016
Le 2016-04-27 08:58, Steve Lhomme a écrit :
> On Tue, Apr 26, 2016 at 6:55 PM, Rémi Denis-Courmont
> <remi at remlab.net> wrote:
>> This is a bad idea.
>> It is practically sure to cause a lot of bugs and bring complexity
>> for nearly
>> zero value.
> I think the alternative way of letting the caller decide whether
> wants to do seamless transition or not is better, rather than forcing
> it. Now we need to decide if that's a feature we want and if we want
> to expose it and maintain it.
You cannot seamlessly change the sout. You cannot seamlessly change the
outputs. That's why retaining the input thread while changing the output
is alsmost completely useless, and not worth the complexity and
associated maintainance cost and bugs.
In fact RESTART_ES even as it's currently used is not seamless.
More information about the vlc-devel