[FFmpeg-devel] [PATCH 2/4] concatdec: factorize duration calculating code to get_duration function
cus at passwd.hu
Mon Nov 9 22:04:27 CET 2015
On Mon, 9 Nov 2015, Nicolas George wrote:
> Le nonidi 19 brumaire, an CCXXIV, Marton Balint a écrit :
>> If propagating unreliable duration metadata worries you, then how about
>> making the demuxer flag in the next patch a tri-state:
>> 0 - default - dont output metadata
>> 1 - output duration metadata only if duration is authoritative (comes from
>> the script) or reliable
>> 2 - always output duration metadata even if it is unreliable and comes from
>> AvFormatContext->duration when opening the file.
> It is not that it worries me, it is just that I do not see the need of doing
> it, and if you do not, then this current patch is just unnecessary.
I think I now understand what you mean, thanks! I will send a new series
More information about the ffmpeg-devel