[FFmpeg-devel] [PATCH] Set AVStream duration in several demuxers

David Conrad lessen42
Tue Jan 19 04:43:06 CET 2010


Hi,

Several demuxers set duration and start_time in AVFormatContext, despite the comment to never set them directly. This sets them in AVStream instead, fixing "Estimating duration from bitrate, this may be inaccurate" messages.

iavs/ivas AVIs still set AVFormatContext duration, I didn't find a sample to test.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ffmpeg-duration.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100118/753f0031/attachment.txt>



More information about the ffmpeg-devel mailing list