diff options
author | Clément Bœsch <u@pkh.me> | 2014-11-15 21:22:00 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2014-11-15 21:22:00 +0100 |
commit | 454b71428368a839a428e190dc911bc0ba45de18 (patch) | |
tree | 80cb78d0bd322044604d46f4df0201d7124aebfb | |
parent | be96201e5bf103a42a91e06464a9b71b4112f7c6 (diff) | |
download | ffmpeg-454b71428368a839a428e190dc911bc0ba45de18.tar.gz |
avfilter/xbr: add video and filtering flags to options
Fixes ffmpeg -h filter=xbr
-rw-r--r-- | libavfilter/vf_xbr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/vf_xbr.c b/libavfilter/vf_xbr.c index d143c622d3..e87f3e7585 100644 --- a/libavfilter/vf_xbr.c +++ b/libavfilter/vf_xbr.c @@ -50,8 +50,9 @@ typedef struct { } XBRContext; #define OFFSET(x) offsetof(XBRContext, x) +#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM static const AVOption xbr_options[] = { - { "n", "set scale factor", OFFSET(n), AV_OPT_TYPE_INT, {.i64 = 3}, 2, 4, }, + { "n", "set scale factor", OFFSET(n), AV_OPT_TYPE_INT, {.i64 = 3}, 2, 4, .flags = FLAGS }, { NULL } }; |