Browse code

avfilter/vf_shuffleplanes: Fix flags / add AV_OPT_FLAG_FILTERING_PARAM

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2014/03/07 00:58:24
Showing 1 changed files
... ...
@@ -125,7 +125,7 @@ fail:
125 125
 }
126 126
 
127 127
 #define OFFSET(x) offsetof(ShufflePlanesContext, x)
128
-#define FLAGS AV_OPT_FLAG_VIDEO_PARAM
128
+#define FLAGS (AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM)
129 129
 static const AVOption shuffleplanes_options[] = {
130 130
     { "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 },
131 131
     { "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 },