[MPlayer-dev-eng] [PATCH] reorder pts when needed
Dan Oscarsson
Dan.Oscarsson at tieto.com
Tue Nov 29 08:14:30 CET 2011
mån 2011-11-28 klockan 19:23 +0100 skrev Reimar Döffinger:
> > From my point there are two different cases:
> > 1) pts are out of order in some cases
> > 2) broken streams can result in bad pts values
> >
> > The code we removed could be used to fix 2).
> > But 1) I do not see as broken stream data, instead it is a failure in
> > demuxer/decoder to not provide correct pts with correct frame.
>
> Any remotely reasonable fix for 2) would fix 1).
> The point of -nocorrect-pts is to handle 2).
Why is correct_pts enabled for some demuxers and not for others? Even
streams in those setting correct_pts to true can have bad streams. If
-nocorrect-pts is for handling broken streams, it should either be off
for all or on for all, as a default. Streams from demux_avi are not more
broken then streams from demux_lavf.
Dan
More information about the MPlayer-dev-eng
mailing list