[MPlayer-dev-eng] [PATCH] playback timing

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Aug 18 22:01:32 CEST 2010


On Wed, Aug 18, 2010 at 09:27:05PM +0200, Pásztor Szilárd wrote:
> Here's another patch that addresses playback timing without -correct-pts.
> This fixes the part of playback when PTS values are ignored and framerate is
> used to calculate frame times. The repetitive decoding was not performed when
> only first fields were decoded, resulting in halving playing speed and
> drifting out of sync.

This most likely wrong and will play wrong (i.e. too fast speed) any files
with damaged frames and possibly completely break AVI files with 0-size
frames.
Without being able to distinguish which case this is (a damaged frame,
a frame that does not contain any changed data but should be displayed
for some time, or incomplete data as the first field for PAFF is) this
is unlikely to be possible to fix _correctly_.


More information about the MPlayer-dev-eng mailing list