aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-12-22 17:04:29 +0100
committerPaul B Mahol <onemda@gmail.com>2022-12-22 17:09:15 +0100
commit9498bc7c3218fd1cdf7f513cb2fe0f93d1d6a354 (patch)
treec58b9c52d0e3842a561c3a7f35e9f20bb2518fd6 /libavfilter
parent54ebe1e8dcc07ac2e02d84fb8155fabf200dd8e6 (diff)
downloadffmpeg-9498bc7c3218fd1cdf7f513cb2fe0f93d1d6a354.tar.gz
avfilter/af_afir: make dry/wet runtime options
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/af_afir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/af_afir.c b/libavfilter/af_afir.c
index bfb27e07d9..6790cf3727 100644
--- a/libavfilter/af_afir.c
+++ b/libavfilter/af_afir.c
@@ -660,8 +660,8 @@ static int process_command(AVFilterContext *ctx,
#define OFFSET(x) offsetof(AudioFIRContext, x)
static const AVOption afir_options[] = {
- { "dry", "set dry gain", OFFSET(dry_gain), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 10, AF },
- { "wet", "set wet gain", OFFSET(wet_gain), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 10, AF },
+ { "dry", "set dry gain", OFFSET(dry_gain), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 10, AFR },
+ { "wet", "set wet gain", OFFSET(wet_gain), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 10, AFR },
{ "length", "set IR length", OFFSET(length), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 1, AF },
{ "gtype", "set IR auto gain type",OFFSET(gtype), AV_OPT_TYPE_INT, {.i64=0}, -1, 4, AF, "gtype" },
{ "none", "without auto gain", 0, AV_OPT_TYPE_CONST, {.i64=-1}, 0, 0, AF, "gtype" },