Skip to content
Snippets Groups Projects
Commit 454b7142 authored by Clément Bœsch's avatar Clément Bœsch
Browse files

avfilter/xbr: add video and filtering flags to options

Fixes ffmpeg -h filter=xbr
parent be96201e
No related branches found
No related tags found
No related merge requests found
...@@ -50,8 +50,9 @@ typedef struct { ...@@ -50,8 +50,9 @@ typedef struct {
} XBRContext; } XBRContext;
#define OFFSET(x) offsetof(XBRContext, x) #define OFFSET(x) offsetof(XBRContext, x)
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
static const AVOption xbr_options[] = { 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 } { NULL }
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment