diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-12-19 20:37:26 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-12-19 20:46:00 +0100 |
commit | 4fcfecdd66cb21a0d1aee26abb02eb3057172e9f (patch) | |
tree | ebd90f28563a3a30928a28b570df24788042e6ef /libavfilter/vf_maskedclamp.c | |
parent | d6a356f115ec7f86e2a8aa4aa1ba9de0988c95f0 (diff) | |
download | ffmpeg-4fcfecdd66cb21a0d1aee26abb02eb3057172e9f.tar.gz |
avfilter/vf_maskedclamp: add support for commands
Diffstat (limited to 'libavfilter/vf_maskedclamp.c')
-rw-r--r-- | libavfilter/vf_maskedclamp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/vf_maskedclamp.c b/libavfilter/vf_maskedclamp.c index 52392c4c86..af2793b55d 100644 --- a/libavfilter/vf_maskedclamp.c +++ b/libavfilter/vf_maskedclamp.c @@ -29,7 +29,7 @@ #include "maskedclamp.h" #define OFFSET(x) offsetof(MaskedClampContext, 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 *b, *o, *m, *d; @@ -327,4 +327,5 @@ AVFilter ff_vf_maskedclamp = { .outputs = maskedclamp_outputs, .priv_class = &maskedclamp_class, .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL | AVFILTER_FLAG_SLICE_THREADS, + .process_command = ff_filter_process_command, }; |