]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_format.c
vf_colorspace: make whitepoint adaptation mode configurable.
[ffmpeg] / libavfilter / vf_format.c
index 1fb3442af19dbc0eebeee9bfdc07fb4ce9781341..a57c99d7974b852fc3ebff4b597da27fadbbff08 100644 (file)
@@ -140,7 +140,7 @@ static int query_formats(AVFilterContext *ctx)
 
 #define OFFSET(x) offsetof(FormatContext, x)
 static const AVOption options[] = {
-    { "pix_fmts", "A '|'-separated list of pixel formats", OFFSET(pix_fmts), AV_OPT_TYPE_STRING, .flags = AV_OPT_FLAG_VIDEO_PARAM },
+    { "pix_fmts", "A '|'-separated list of pixel formats", OFFSET(pix_fmts), AV_OPT_TYPE_STRING, .flags = AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM },
     { NULL }
 };