[FFmpeg-devel] [PATCH 1/2] lavu/opt: add AV_OPT_TYPE_DURATION.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel