On Thu, Mar 02, 2017 at 22:00:36 +0300, Kagami Hiiragi wrote:
> +    {"row-mt", "Row based multi-threading", OFFSET(row_mt), AV_OPT_TYPE_INT, 
> {.i64 = -1}, -1, 1, VE},
                                                                           ^
Woudn't a _BOOL type accept exactly the same ranges and defaults, with
the same behavior, but document itself more nicely?

It would result in
 -row-mt  <boolean>    E....... Row based multi-threading (default auto)
instead of
 -row-mt  <int>        E....... Row based multi-threading (from -1 to 1) 
(default -1)

(Guessing, untested.)

Moritz
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to