[vlc-devel] [RFC PATCH 09/13] FIXUP: implement audio/video/spu delay

Rémi Denis-Courmont remi at remlab.net
Fri Jun 29 20:15:20 CEST 2018

Le vendredi 29 juin 2018, 19:22:47 EEST Thomas Guillem a écrit :
> On Fri, Jun 29, 2018, at 18:05, Rémi Denis-Courmont wrote:
> > Sure. But the problem remains that, to handle "large" absolute delay
> > values, you need to buffer the earlier ES more. And the only place
> > that gives us free rein in buffering is the decoder FIFO (though ES
> > output could do it). After decoder, we are constrained by available
> > picture buffers and such, so we cannot buffer as much as we want.>
> > 
> >  And so we need to adjust the PTS before decoding.
> Large delay is an issue that VLC always had and that is not fixed by
> this set of patches. But I though  we would handle that case when we
> replace the input clock / buffering, no ?

And for that to work, you need to correct the PTS before buffering.

> >  Also, filters need the adjusted PTS otherwise there are intractable
> >  problems with dependencies between different ES.
> Which problems ?

What I already wrote.

Rémi Denis-Courmont

More information about the vlc-devel mailing list