[MPlayer-dev-eng] [PATCH] fix reordering
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Thu Jul 1 18:43:21 CEST 2010
On Sat, Jun 26, 2010 at 08:44:02AM +0200, Dan Oscarsson wrote:
> When seeking some demuxers (for example demux_ts.c) returns
> MP_NOPTS_VALUE for first video frame after the seek. For the mpeg-ts
> files I have -correct-pts hate to be set for them to play correctly.
> Unfortunately the reordering code in libmpcodecs/dec_video.c ignores a
> frame, if the pts have value MP_NOPTS_VALUE, resulting in one frame
> being out of order in each set of frames after a seek. This gives bad
> video playback.
>
> As I have written in the patch, I cannot see that including
> MP_NOPTS_VALUE in the reordering should be a problem, as it is a large
> negative value (at least on my computers), and sorts before the
> following frames.
I suspect that it will break PAFF samples with -demuxer lavf again.
Also, I really can't see what it should change, correct_pts is not
set for demux_ts and AFAIK it does not work with it.
More information about the MPlayer-dev-eng
mailing list