[vlc-devel] [PATCH] AVFormat Demux : Reset PCR for streams initialized later on.

Laurent Aimar fenrir at elivagar.org
Tue Jul 27 14:36:06 CEST 2010


On Tue, Jul 27, 2010 at 05:04:37PM +0530, Jai Menon wrote:
> > would you be okay with updating the pcr after receiving a few packets
> > instead? this way nothing is lost.
 Doing so force a higher bufferisation and create jitter/delay while reading
the source stream which isn't nicer I fear (not sure if it creates issue with
the clock algo). Besides, it has hardcoded value and so seems too much like a

 What's your exact issue?

 One thing that isn't nice with the current code is that the pcr is equal
to the _max_ value of the max values seen per track while it should be the
_min_ value of the max value seen per tracks. (But fixing it has a big issue
with ES that terminates before others)
 Maybe that's your issue?


More information about the vlc-devel mailing list