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

Baptiste Coudurier baptiste.coudurier
Thu Mar 6 18:45:13 CET 2008


Michael Niedermayer wrote:
> 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
> 

Applied.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-devel mailing list