summaryrefslogtreecommitdiff
path: root/libavfilter/vf_format.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-04-21 16:49:00 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-04-21 20:20:42 +0200
commit7b7c338e9a7390d5463f2ba6b240e254f8e77de0 (patch)
treecebe46f72f468bba2660634e7efae990cc017b31 /libavfilter/vf_format.c
parentc85d04251df613db0e94a0bca50dbedfd38f41dd (diff)
avfilter: Add AV_OPT_FLAG_FILTERING_PARAM to where it was missing
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/vf_format.c')
-rw-r--r--libavfilter/vf_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_format.c b/libavfilter/vf_format.c
index 1fb3442af1..a57c99d797 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 }
};