[MPlayer-dev-eng] [PATCH] buffered pts when -correct-pts

Pásztor Szilárd don at tricon.hu
Mon Aug 16 22:43:45 CEST 2010


Carl Eugen Hoyos:
>> I'm attaching a patch that hacks PTS buffer handling when -correct-pts
is
>> in
>> effect, resulting in a smooth playback as it should be.
> 
> Which sample is this supposed to fix?
> (And your patch is reversed, consider using svn.)

Which sample? All samples with an interlaced stream with B-frames.
The PTS buffer handling was incorrect in all such cases.
I've now put up one of my samples (m2hd.ts) into the incoming dir on
samples.mplayerhq.hu. You can also check the bug on practically all
interlaced Blu-ray files. Without -correct-pts or demuxer lavf,
they were played at half speed (and fall out of sync), with
-correct-pts they were jerky.

Same as with all DVB HD broadcasts.
(In my patch the new lines are marked with '+', is it reversed?)


More information about the MPlayer-dev-eng mailing list