[FFmpeg-devel] [PATCH] do not reset duration_error for all streams

Michael Niedermayer michaelni
Thu Mar 6 18:24:35 CET 2008


On Thu, Mar 06, 2008 at 01:54:24PM +0100, Baptiste Coudurier wrote:
> Hi
> 
> Current code in av_find_stream_infos will reset duration_error for all
> streams, I think it should only reset for current stream.
> 
> Example: audio packet is read after video packet, it will reset video
> stream duration_error, and therefore will confuse frame rate detection
> executed after.

ok

[...]
-- 
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
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080306/0f156ab5/attachment.pgp>



More information about the ffmpeg-devel mailing list