[FFmpeg-devel] [PATCH] Implement guessed_pts in avcodec_decode_video2.
Sun Feb 6 21:32:24 CET 2011
On Sun, Feb 06, 2011 at 08:44:55PM +0100, Nicolas George wrote:
> Le tridi 13 pluvi?se, an CCXIX, Michael Niedermayer a ?crit?:
> > the "pkt_pts" = AV_NOPTS_VALUE; should stay, aka the pts should be reset after
> > use.
> The version you reviewed killed the pkt_pts variable altogether. Not
> But this pkt_pts variable seems strange: if I understand the code correctly,
> if a video packet has no PTS, pkt_pts will stay from a previous audio
> packet. This seems wrong, as audio frames have not the same duration as
> video size,
Please elaborate how a video packet can end with a pts from a audio packet
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel