[FFmpeg-devel] [FFmpeg-cvslog] avcodec/libaomenc: fix default value for row-mt option

Moritz Barsnick barsnick at gmx.net
Sat Mar 30 14:39:39 EET 2019


On Sat, Mar 30, 2019 at 16:50:52 +0530, Gyan wrote:
> And what are the semantics of the user setting row_mt or enable-intrabc
> as -1?

The user doesn't set -1, they set 0 or 1 as bool. -1 helps to indicate
that nothing was set, and - in these cases - falls back to not setting
anything in the libary interface and choosing its own default.

In other words, -1 helps to avoid setting a default in the options
definition.

Cheers,
Moritz


More information about the ffmpeg-devel mailing list