Commit 5f019909 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter: Add AV_OPT_FLAG_FILTERING_PARAM where it is missing

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent c14b3ea9
......@@ -527,7 +527,7 @@ static int qsvdeint_request_frame(AVFilterLink *outlink)
}
#define OFFSET(x) offsetof(QSVDeintContext, x)
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
static const AVOption options[] = {
{ NULL },
};
......
......@@ -581,7 +581,7 @@ fail:
}
#define OFFSET(x) offsetof(QSVScaleContext, x)
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
static const AVOption options[] = {
{ "w", "Output video width", OFFSET(w_expr), AV_OPT_TYPE_STRING, { .str = "iw" }, .flags = FLAGS },
{ "h", "Output video height", OFFSET(h_expr), AV_OPT_TYPE_STRING, { .str = "ih" }, .flags = FLAGS },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment