ffmpeg | branch: master | Clément Bœsch <u...@pkh.me> | Sat Nov 15 21:22:00 2014 +0100| [454b71428368a839a428e190dc911bc0ba45de18] | committer: Clément Bœsch
avfilter/xbr: add video and filtering flags to options Fixes ffmpeg -h filter=xbr > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=454b71428368a839a428e190dc911bc0ba45de18 --- libavfilter/vf_xbr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_xbr.c b/libavfilter/vf_xbr.c index d143c62..e87f3e7 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 } }; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog