summaryrefslogtreecommitdiff
path: root/libavfilter/vf_shuffleplanes.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-06 16:58:24 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-06 16:58:24 +0100
commitffe7e7c195c3a3bcf4a0531d420f50a198a75c59 (patch)
tree5c7c56b46e1a24a6ccf028794f246355014ed6f4 /libavfilter/vf_shuffleplanes.c
parent99b4da73c8fda5f00c4a8dfb42afb80c3be22ce7 (diff)
avfilter/vf_shuffleplanes: Fix flags / add AV_OPT_FLAG_FILTERING_PARAM
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_shuffleplanes.c')
-rw-r--r--libavfilter/vf_shuffleplanes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_shuffleplanes.c b/libavfilter/vf_shuffleplanes.c
index 7085b150ee..80085cd712 100644
--- a/libavfilter/vf_shuffleplanes.c
+++ b/libavfilter/vf_shuffleplanes.c
@@ -125,7 +125,7 @@ fail:
}
#define OFFSET(x) offsetof(ShufflePlanesContext, x)
-#define FLAGS AV_OPT_FLAG_VIDEO_PARAM
+#define FLAGS (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM)
static const AVOption shuffleplanes_options[] = {
{ "map0", "Index of the input plane to be used as the first output plane ", OFFSET(map[0]), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 4, FLAGS },
{ "map1", "Index of the input plane to be used as the second output plane ", OFFSET(map[1]), AV_OPT_TYPE_INT, { .i64 = 1 }, 0, 4, FLAGS },