summaryrefslogtreecommitdiff
path: root/libavfilter/vf_maskedthreshold.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-12-19 23:05:36 +0100
committerPaul B Mahol <onemda@gmail.com>2020-12-19 23:08:09 +0100
commit3336ca46440fe2237fc014a1ba8c3c0a9e5477ef (patch)
tree44538a3b9a6c9fe72a0c63a0ab3603e3e32a3504 /libavfilter/vf_maskedthreshold.c
parent64e572db46a2dd44517140b6e85ece989b08d575 (diff)
avfilter/vf_maskedthreshold: add support for commands
Diffstat (limited to 'libavfilter/vf_maskedthreshold.c')
-rw-r--r--libavfilter/vf_maskedthreshold.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/vf_maskedthreshold.c b/libavfilter/vf_maskedthreshold.c
index d925819f6a..5a6ebb1a07 100644
--- a/libavfilter/vf_maskedthreshold.c
+++ b/libavfilter/vf_maskedthreshold.c
@@ -43,7 +43,7 @@ typedef struct MaskedThresholdContext {
} MaskedThresholdContext;
#define OFFSET(x) offsetof(MaskedThresholdContext, x)
-#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
+#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
typedef struct ThreadData {
AVFrame *src, *ref, *dst;
@@ -295,4 +295,5 @@ AVFilter ff_vf_maskedthreshold = {
.inputs = maskedthreshold_inputs,
.outputs = maskedthreshold_outputs,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL | AVFILTER_FLAG_SLICE_THREADS,
+ .process_command = ff_filter_process_command,
};