[vlc-devel] [PATCH] [RFC] input: set "input-current" early so control interfaces can control earlier

Rémi Denis-Courmont remi at remlab.net
Tue Oct 27 10:03:10 CET 2015


Le 2015-10-27 10:07, Steve Lhomme a écrit :
> On Mon, Oct 26, 2015 at 4:43 PM, Rémi Denis-Courmont 
> <remi at remlab.net> wrote:
>> On Monday 26 October 2015 08:59:29 Steve Lhomme wrote:
>>> For Chromecast we want to be able to set a custom sout for the 
>>> selected
>>> input to play but the control interface get the event too late and 
>>> the
>>> input thread has already created its sout/vout.
>>
>> That callback is for interfaces to update their views and register 
>> callbacks
>> with the input. Modifying the input there won´t work as you can (and 
>> typically
>> do) have more than one interface running.
>
> I assume none of them do that at the moment. So it shouldn't be an
> issue if only one does.

It is an issue even with only one. Besides, the feature would 
eventually be replicated to the HTTP interface, and possibly the skin 
engine.

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


More information about the vlc-devel mailing list