[vlc-devel] [PATCH 1/5] input: add a new flag to control the state from demuxers

Thomas Guillem thomas at gllm.fr
Fri Jul 20 13:23:33 CEST 2018

On Fri, Jul 20, 2018, at 12:22, Rémi Denis-Courmont wrote:
> Le jeudi 19 juillet 2018, 16:50:16 EEST Thomas Guillem a écrit :
> > This will be used by the chromecast demux filter.
> A demux cannot control the paused state synchronously, as that would make a 
> loop. It can also not control the paused state asynchronously as that would 
> race with other pause controls (at least UIs and corks).

> You can maybe, probably, increase the cork count of the input manager like the 
> audio output does. It is not time-accurate however.

I didn't know, that's still a little hackish but I'll try.

So I guess the next input manager need to handle suchsvariables like "cork".

Are there some other way to signal a cork without accessing obj.parent ?

I can think of this one:

vlc_input_manager *im = vlc_get_main_input_manager(vlc_object);

But then, this won't work if vlc has more than one input manager, VLM ?

> -- 
> Rémi Denis-Courmont
> _______________________________________________
> 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