avfilter/af_crystalizer: add support for commands

This commit is contained in:
Paul B Mahol 2019-12-29 15:31:11 +01:00
parent 22d3552f44
commit e20c6d95b2
1 changed files with 2 additions and 1 deletions

View File

@ -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,
};