X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fvf_format.c;h=a57c99d7974b852fc3ebff4b597da27fadbbff08;hb=36dad146935a500ef6fd7246b5c216f7af26f9db;hp=1fb3442af19dbc0eebeee9bfdc07fb4ce9781341;hpb=6e6b1fe7f71420b3746135dfe130eee8ff667acb;p=ffmpeg diff --git a/libavfilter/vf_format.c b/libavfilter/vf_format.c index 1fb3442af19..a57c99d7974 100644 --- a/libavfilter/vf_format.c +++ b/libavfilter/vf_format.c @@ -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 } };