On Sun, Oct 25, 2015 at 17:35:32 +0100, Nicolas George wrote:
> +@table @option
> +@item limit
> +Time limit for the pauses. Any pause longer than that will be considered
> +a timestamp discontinuity and reset the timer. Default is 2 seconds.
> +@end table
[...]
> +static const AVOption options[] = {
> + { "limit", "sleep time limit", OFFSET(limit), AV_OPT_TYPE_DURATION, {
> .i64 = 2000000 }, 0, INT64_MAX, FLAGS },
> + { NULL }
> +};
$ ffmpeg -h filter=realtime
[...]
realtime AVOptions:
limit <duration> ..FVA... sleep time limit (default 2e+06)
It's misleading to mention "seconds" and to expect microseconds. Or to
mention "2" in one place and "2000000" in the other.
-> Time limit for the pauses in microseconds. [...] Default is 2000000 (2
seconds).
[...]
{ "limit", "sleep time limit (in microseconds)", OFFSET(limit),
AV_OPT_TYPE_DURATION, { .i64 = 2000000 }, 0, INT64_MAX, FLAGS },
Moritz
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel