[FFmpeg-devel] [PATCH 1/4] avutil/opt: Add option type for Colour Range
michael at niedermayer.cc
Tue Feb 20 03:33:25 EET 2018
On Mon, Feb 19, 2018 at 10:48:22AM -0800, Philip Langdale wrote:
> In preparation for introducing Colour Range as a buffersrc parameter,
> we need an option type to pass it. This probably seems like overkill
> for an enum with two valid values, but even then you need to do
> string parsing so you might as well get it right.
There are many cases of parameters with named constants in AVOptions
What is the advantage of this compared to using AV_OPT_TYPE_CONST ?
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: not available
More information about the ffmpeg-devel