[vlc-devel] [PATCH] input/stream_demux: pace control

Frédéric Yhuel yhuelf at gmail.com
Mon Oct 29 12:05:40 CET 2012

On Mon, Oct 29, 2012 at 10:28 AM, Denis Charmet <typx at dinauz.org> wrote:
> Le samedi 27 octobre 2012 à 11:22:58, Frédéric Yhuel a écrit :
>> I doubt this patch will be accepted, but it solves the pace control
>> problem we've been discuss on this ML, with Rémi and Denis (cf thread
>> "How to slow down the demuxer?")
> I don't think it's the proper way to do it. This would be redundant with
> the demux pacing. I'm investigating the demux pacing and synchronization.
> If I find a better way I'll let you know.

Ok thanks!

Maybe a better way would be to limit the depth of decoders' FIFO.

For example, if I change "b_out_pace_control" to "true", in
src/input/input.c:366, then depth of decoders' FIFO is limited to 10
(see decoder.c:394).

And it solves my problem. I don't know yet how to properly enable
decoders' FIFO pacing, though.

Best regards,

More information about the vlc-devel mailing list