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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Aug 17 08:30:45 CEST 2010


On Mon, Aug 16, 2010 at 10:43:45PM +0200, Pásztor Szilárd wrote:
> 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.

Almosgt certainly not. At most PAFF-interlaced streams. MBAFF-interlaced
actually will be broken.
And even PAFF-interlaced only due to the H.264 parsers being broken, incorrectly
splitting each field into a packet instead of always having a full frame
per packet.


More information about the MPlayer-dev-eng mailing list