[FFmpeg-devel] [PATCH 2/4] concatdec: factorize duration calculating code to get_duration function

Nicolas George george at nsup.org
Mon Nov 9 21:30:17 CET 2015


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.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151109/2a622183/attachment.sig>


More information about the ffmpeg-devel mailing list