[FFmpeg-devel] [PATCH/RFC] Don't override duration from file header with bitrate

Joakim Plate elupus at ecce.se
Tue Sep 13 01:15:40 CEST 2011

This is most noticable on matroska files which has duration
as part of it's header.

We've had this patch in place for quite some time. However it was against a
older ffmpeg, so i don't know if updates have broken how this behaves. 

The though is sound i think, i'm just not sure if there are demuxer out
there that sets up invalid durations for the files or something else has
changed that breaks it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-override-duration-from-file-header-with-bitrat.patch
Type: text/x-patch
Size: 1410 bytes
Desc: Attached file: 0001-Don-t-override-duration-from-file-header-with-bitrat.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110913/14a0e5aa/attachment.bin>

More information about the ffmpeg-devel mailing list