X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fvf_procamp_vaapi.c;h=10eccbe97d7832d99f8b15da9b3f16d41b839db9;hb=4cfb01d6ae545cec4a507113a6cbcf3b6e727e94;hp=45a3120b23716bf44fdf6410dae74c2fe4ed1df7;hpb=9053b0885957328f52efca1670fda1df412753ed;p=ffmpeg diff --git a/libavfilter/vf_procamp_vaapi.c b/libavfilter/vf_procamp_vaapi.c index 45a3120b237..10eccbe97d7 100644 --- a/libavfilter/vf_procamp_vaapi.c +++ b/libavfilter/vf_procamp_vaapi.c @@ -214,7 +214,7 @@ static av_cold int procamp_vaapi_init(AVFilterContext *avctx) } #define OFFSET(x) offsetof(ProcampVAAPIContext, x) -#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM) +#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM) static const AVOption procamp_vaapi_options[] = { { "b", "Output video brightness", OFFSET(bright), AV_OPT_TYPE_FLOAT, { .dbl = BRIGHTNESS_DEFAULT }, BRIGHTNESS_MIN, BRIGHTNESS_MAX, .flags = FLAGS },