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

Pásztor Szilárd don at tricon.hu
Wed Aug 18 21:27:05 CEST 2010


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 patch fixes the danish_dvb.ts when audio sync does not disturb playback.
(That is, playback is very smooth with -nosound or -mc 0.)
The problem with the danish ts is that it has bogus timestamps so they must
be ignored.
I don't know why audio cripples sync so heavily with this danish ts, maybe
audio pts values must be ignored or syncing needs revising in general.

All in all, my former HD sample (m2hd.ts) is also fixed with this patch, even
without -correct-pts.

s.

             ------------------------------------------------------
             |    Mediocrity takes a lot less time, and people    |
             |  won't notice the difference until it's too late.  |
             ------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-timing-20100818.diff
Type: application/octet-stream
Size: 2074 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100818/fd5583f2/attachment.obj>


More information about the MPlayer-dev-eng mailing list