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

Frédéric Yhuel yhuelf at gmail.com
Sat Oct 27 15:37:31 CEST 2012


On Sat, Oct 27, 2012 at 2:25 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le samedi 27 octobre 2012 15:15:22, Frédéric Yhuel a écrit :
>> On Sat, Oct 27, 2012 at 11:25 AM, Rémi Denis-Courmont <remi at remlab.net>
> wrote:
>> > The stream_demux is paced by its input FIFO, and the FIFO is paced by the
>> > the parent demux. No thanks.
>>
>> The problem is that it is not easy to pace the parent demux, in my case.
>
> The main demux is naturally paced by the finite bandwidth of the input stream.
>

Of course, but if we rely only on the limited bandwidth of the input
stream, the size of the demux_stream's FIFO could worth several
seconds, and so could be the size of decoders' FIFO. Then, the stop
button would not act timely.

If it's not a problem, fine! Is it?

> We are not going to change stream_demux and break existing users to work
> around bugs somewhere else.
>

It would not break existing users if we disable the pacing mechanism I
suggested by default.

In my previous mail I suggested to add a VLC request to enable it.

Frédéric



More information about the vlc-devel mailing list