[vlc-devel] [PATCH] Don't flag as preroll blocks with invalid pts and dts

Denis Charmet typx at dinauz.org
Sat Jan 14 21:35:05 CET 2012


Le samedi 14 janvier 2012 à 09:13:56, Laurent Aimar a écrit :
> On Sat, Jan 14, 2012 at 08:22:55PM +0100, Denis Charmet wrote:
> 
>  This won't work as a lot of packets will not be marked as prerolled and so
> basically making prerolling useless.
>  The only side effects of marking packets without timestamp as 'prerolled'
> should be that a bit too much of audio/video are trimmed (ie the part until
> a valid timestamp is seen again).
> 
> So, I am not sure why #5165 would happens due to that. On the samples reproducing
> the issue, what are the delay between 2 packets with timestamp?

>From my experience, the typical lace is about 8 frames wide. The fact
is, when I increase the caching duration I have a silence (after seek)
as wide as the caching duration and when I add some traces I find out
that audio is trashed because the blocks are flaged as preroll.

Regards,

-- 
TypX
Le mauvais esprit est un art de vivre



More information about the vlc-devel mailing list