aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-11-12 18:07:45 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2017-11-13 03:58:34 +0100
commit1828c549c3ecd45d54ff03aee784b00a41f0e69e (patch)
treeba4f2acb38a535989a9f341f6333c1553e53e8c1
parentf3e34072aadf20be60c0fae38cbe14ad4581c6a5 (diff)
downloadffmpeg-1828c549c3ecd45d54ff03aee784b00a41f0e69e.tar.gz
avfilter/vf_*_qsv: Fix flags
Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavfilter/vf_overlay_qsv.c2
-rw-r--r--libavfilter/vf_vpp_qsv.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_overlay_qsv.c b/libavfilter/vf_overlay_qsv.c
index 471576e35a..1f50d4bb21 100644
--- a/libavfilter/vf_overlay_qsv.c
+++ b/libavfilter/vf_overlay_qsv.c
@@ -42,7 +42,7 @@
#define OVERLAY 1
#define OFFSET(x) offsetof(QSVOverlayContext, x)
-#define FLAGS AV_OPT_FLAG_VIDEO_PARAM
+#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM)
enum var_name {
VAR_MAIN_iW, VAR_MW,
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index 86af017d2e..eb2f1cc7eb 100644
--- a/libavfilter/vf_vpp_qsv.c
+++ b/libavfilter/vf_vpp_qsv.c
@@ -37,7 +37,7 @@
#include "qsvvpp.h"
#define OFFSET(x) offsetof(VPPContext, x)
-#define FLAGS AV_OPT_FLAG_VIDEO_PARAM
+#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM)
/* number of video enhancement filters */
#define ENH_FILTERS_COUNT (5)