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

Ronald S. Bultje rsbultje at gmail.com
Sun Mar 17 21:26:04 CET 2013


On Sun, Mar 17, 2013 at 12:30 PM, Nicolas George
<nicolas.george at normalesup.org> wrote:
> 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.

So why is it called duration? I don't see anything that is
duration-specific in this description. Don't you mean "time"?


More information about the ffmpeg-devel mailing list