Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-12 17:45:28 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-04-12 17:45:28 +0400
commit292f68154b669d2d8e304b4bd7966938d4f9a393 (patch)
treea2c2426b2e4aac197d6da14a383e94998a9f3e5d /libavfilter/f_perms.c
parentf81a8e89a1c2819bc0b39153023188f955d3c52c (diff)
avfilter: Filter options that are used for both video and audio should have both flags
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/f_perms.c')
-rw-r--r--libavfilter/f_perms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/f_perms.c b/libavfilter/f_perms.c
index 85683f93d7..8dc2ed86e0 100644
--- a/libavfilter/f_perms.c
+++ b/libavfilter/f_perms.c
@@ -41,7 +41,7 @@ typedef struct {
} PermsContext;
#define OFFSET(x) offsetof(PermsContext, x)
-#define FLAGS AV_OPT_FLAG_FILTERING_PARAM
+#define FLAGS AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_VIDEO_PARAM
static const AVOption options[] = {
{ "mode", "select permissions mode", OFFSET(mode), AV_OPT_TYPE_INT, {.i64 = MODE_NONE}, MODE_NONE, NB_MODES-1, FLAGS, "mode" },