diff options
author | Paul B Mahol <onemda@gmail.com> | 2019-12-29 15:31:11 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-12-29 15:33:55 +0100 |
commit | e20c6d95b20e6e661045814c093c50facae83df5 (patch) | |
tree | 05ca068a783df80d01234e7672f60ba20f258024 /libavfilter | |
parent | 22d3552f44dcf7d1f6113aacaf283caf682e1455 (diff) | |
download | ffmpeg-e20c6d95b20e6e661045814c093c50facae83df5.tar.gz |
avfilter/af_crystalizer: add support for commands
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/af_crystalizer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/af_crystalizer.c b/libavfilter/af_crystalizer.c index 0c2b98f3db..4df6a4b609 100644 --- a/libavfilter/af_crystalizer.c +++ b/libavfilter/af_crystalizer.c @@ -34,7 +34,7 @@ typedef struct CrystalizerContext { } CrystalizerContext; #define OFFSET(x) offsetof(CrystalizerContext, x) -#define A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM +#define A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM static const AVOption crystalizer_options[] = { { "i", "set intensity", OFFSET(mult), AV_OPT_TYPE_FLOAT, {.dbl=2.0}, 0, 10, A }, @@ -255,4 +255,5 @@ AVFilter ff_af_crystalizer = { .inputs = inputs, .outputs = outputs, .flags = AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL, + .process_command = ff_filter_process_command, }; |