[FFmpeg-devel] [PATCH] lavf: Add flags for how duration is estimated

Michael Bradshaw mbradshaw at sorensonmedia.com
Thu Jun 14 18:50:15 CEST 2012


Attached patch adds 3 flags for AVFormatContext.flags so users can
know how the duration is retrieved and how accurate it is. I have a
use-case where I need to know if it's estimated from the bitrate.

Please review. If someone has a better idea of how this can be
implemented, I welcome their input.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-add-flags-for-how-duration-is-estimated.patch
Type: application/octet-stream
Size: 2384 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120614/db5febbc/attachment.obj>

More information about the ffmpeg-devel mailing list