summaryrefslogtreecommitdiff
path: root/libavfilter/af_extrastereo.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-12-27 20:57:06 +0100
committerPaul B Mahol <onemda@gmail.com>2019-12-27 20:57:06 +0100
commit954637805d64609d1ca370f2cf12d15dfb41b395 (patch)
treea02b44e1a240dc1eef316aa892c7b571a7dc403a /libavfilter/af_extrastereo.c
parentfad62eebee0cff5acd4be6d2fe993e1d605e1f26 (diff)
avfilter/af_extrastereo: add support for commands
Diffstat (limited to 'libavfilter/af_extrastereo.c')
-rw-r--r--libavfilter/af_extrastereo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/af_extrastereo.c b/libavfilter/af_extrastereo.c
index 83eba47410..d8e4da9a93 100644
--- a/libavfilter/af_extrastereo.c
+++ b/libavfilter/af_extrastereo.c
@@ -31,7 +31,7 @@ typedef struct ExtraStereoContext {
} ExtraStereoContext;
#define OFFSET(x) offsetof(ExtraStereoContext, 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 extrastereo_options[] = {
{ "m", "set the difference coefficient", OFFSET(mult), AV_OPT_TYPE_FLOAT, {.dbl=2.5}, -10, 10, A },
@@ -129,4 +129,5 @@ AVFilter ff_af_extrastereo = {
.inputs = inputs,
.outputs = outputs,
.flags = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
+ .process_command = ff_filter_process_command,
};