summaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-03-28 23:50:03 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2017-03-30 03:12:05 +0200
commit5f019909c0e21e81646cdd43ef537e2e1404ccc4 (patch)
tree95816728df79410a32bf1daadf98893289df57fb /libavfilter
parentc14b3ea93c4f009a25ffa82452b5cf8b36a1bbbe (diff)
downloadffmpeg-streaming-5f019909c0e21e81646cdd43ef537e2e1404ccc4.zip
ffmpeg-streaming-5f019909c0e21e81646cdd43ef537e2e1404ccc4.tar.gz
avfilter: Add AV_OPT_FLAG_FILTERING_PARAM where it is missing
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_deinterlace_qsv.c2
-rw-r--r--libavfilter/vf_scale_qsv.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_deinterlace_qsv.c b/libavfilter/vf_deinterlace_qsv.c
index bd43ef7..2810bff 100644
--- a/libavfilter/vf_deinterlace_qsv.c
+++ b/libavfilter/vf_deinterlace_qsv.c
@@ -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 },
};
diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.c
index 8b262b6..a5f5be7 100644
--- a/libavfilter/vf_scale_qsv.c
+++ b/libavfilter/vf_scale_qsv.c
@@ -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 },
OpenPOWER on IntegriCloud