[FFmpeg-devel] [PATCH 1/2] lavu/opt: add AV_OPT_TYPE_DURATION.

Nicolas George nicolas.george at normalesup.org
Sun Mar 17 20:30:02 CET 2013

Le septidi 27 ventôse, an CCXXI, Stefano Sabatini a écrit :
> LGTM, same consideration as per the OPT_VIDEO_RATE patch, an
> av_opt_get/set_duration() may be useful at some point (possibly in the
> same patch).

Thanks for the review. What added value do you have in mind for
av_opt_[gs]_duration(), compared to _int()? AFAIK, from an API point of
view, a duration is exactly the same as an int64, and the only point of a
special type is the H:MM:SS parsing and pretty-printing.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130317/85d92f95/attachment.asc>

More information about the ffmpeg-devel mailing list