diff options
author | Paul B Mahol <onemda@gmail.com> | 2021-07-25 11:24:18 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-07-25 11:24:18 +0200 |
commit | 207e9b17606d2a7f81f2a11ffb8d82df8b689797 (patch) | |
tree | 8cce8b68358f286ea3be9bff1dcaf85ecb38ce04 /libavfilter | |
parent | 6210cc8c7ec1d9491015b1a19a9d61e8f7efea4f (diff) |
avfilter/vf_threshold: add support for commands
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_threshold.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/vf_threshold.c b/libavfilter/vf_threshold.c index decfbf8564..0c8787e331 100644 --- a/libavfilter/vf_threshold.c +++ b/libavfilter/vf_threshold.c @@ -34,7 +34,7 @@ #include "threshold.h" #define OFFSET(x) offsetof(ThresholdContext, x) -#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM +#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM static const AVOption threshold_options[] = { { "planes", "set planes to filter", OFFSET(planes), AV_OPT_TYPE_INT, {.i64=15}, 0, 15, FLAGS}, @@ -365,4 +365,5 @@ const AVFilter ff_vf_threshold = { .inputs = inputs, .outputs = outputs, .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL | AVFILTER_FLAG_SLICE_THREADS, + .process_command = ff_filter_process_command, }; |