mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avfilter/xbr: add video and filtering flags to options
Fixes ffmpeg -h filter=xbr
This commit is contained in:
parent
be96201e5b
commit
454b714283
@ -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 }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user