[FFmpeg-devel] [patch 2/3] Fix two bugs in av_estimate_timings_from_pts

Michael Niedermayer michaelni
Sat Aug 18 02:46:05 CEST 2007


Hi

On Thu, Aug 16, 2007 at 04:27:10PM +1000, neilb at suse.de wrote:
> 1/ there is no gurarantee that every stream will
>    have an start_time found (though it is likely),
>    so check that the start_time is defined before
>    calculating a duration.
> 
> 2/ When looking for the last packet in each
>    stream, so as to calculate the duration, don't stop
>    as soon as all streams have seen at least on packet.
>    Otherwise the duration will be shorter than it
>    should be.  We must keep reading to the end-of-file.

applied

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070818/2e370225/attachment.pgp>



More information about the ffmpeg-devel mailing list