diff options
author | Clément Bœsch <u@pkh.me> | 2015-09-08 23:47:16 +0300 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-09-08 23:47:16 +0300 |
commit | 0b93c6d83167e08405ab4ebbeec6c74d28de002e (patch) | |
tree | 89814e30c650972c95f3a4c9e6bbb4c6ff25e571 /libavfilter/vf_interlace.c | |
parent | f790b54d98be34ce45ea9e5103dcf88dbb740888 (diff) |
avfilter/interlace: fix opt flags
Diffstat (limited to 'libavfilter/vf_interlace.c')
-rw-r--r-- | libavfilter/vf_interlace.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavfilter/vf_interlace.c b/libavfilter/vf_interlace.c index 28315c364e..dcc94133a8 100644 --- a/libavfilter/vf_interlace.c +++ b/libavfilter/vf_interlace.c @@ -38,16 +38,16 @@ #include "video.h" #define OFFSET(x) offsetof(InterlaceContext, x) -#define V AV_OPT_FLAG_VIDEO_PARAM +#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM static const AVOption interlace_options[] = { { "scan", "scanning mode", OFFSET(scan), - AV_OPT_TYPE_INT, {.i64 = MODE_TFF }, 0, 1, .flags = V, .unit = "scan" }, + AV_OPT_TYPE_INT, {.i64 = MODE_TFF }, 0, 1, .flags = FLAGS, .unit = "scan" }, { "tff", "top field first", 0, - AV_OPT_TYPE_CONST, {.i64 = MODE_TFF }, INT_MIN, INT_MAX, .flags = V, .unit = "scan" }, + AV_OPT_TYPE_CONST, {.i64 = MODE_TFF }, INT_MIN, INT_MAX, .flags = FLAGS, .unit = "scan" }, { "bff", "bottom field first", 0, - AV_OPT_TYPE_CONST, {.i64 = MODE_BFF }, INT_MIN, INT_MAX, .flags = V, .unit = "scan" }, + AV_OPT_TYPE_CONST, {.i64 = MODE_BFF }, INT_MIN, INT_MAX, .flags = FLAGS, .unit = "scan" }, { "lowpass", "set vertical low-pass filter", OFFSET(lowpass), - AV_OPT_TYPE_BOOL, {.i64 = 1 }, 0, 1, .flags = V }, + AV_OPT_TYPE_BOOL, {.i64 = 1 }, 0, 1, .flags = FLAGS }, { NULL } }; |