[vlc-devel] [PATCH 1/3] decoder: unblock input thread when interrupted
Thomas Guillem
thomas at gllm.fr
Mon Feb 12 19:03:28 CET 2018
On Mon, Feb 12, 2018, at 18:59, Rémi Denis-Courmont wrote:
> Le maanantaina 12. helmikuuta 2018, 19.13.24 EET Thomas Guillem a écrit :
> > When not paced, input_DecoderDecode() called from
> > (input_thread_t->demux->es_out) can wait for the DecoderThread to empty its
> > FIFO. This can take a very long time with inputs that need a big buffering
> > (cf. ACCESS/DEMUX PTS_DELAY) or if sout inputs are blocked in IO.
>
> No. Using interrupt in decoder thread no sense for the same reasons as
> streaming output. In fact, it makes even less sense than in streaming output,
> since there is not even much layering going on there.
input_ functions on this file are called from the input thread. This new code is used to unblock the input thread, not the decoder one.
>
> --
> 雷米‧德尼-库尔蒙
> https://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