[FFmpeg-cvslog] avfilter/af_afir: make dry/wet runtime options
Paul B Mahol
git at videolan.org
Thu Dec 22 18:05:23 EET 2022
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Dec 22 17:04:29 2022 +0100| [9498bc7c3218fd1cdf7f513cb2fe0f93d1d6a354] | committer: Paul B Mahol
avfilter/af_afir: make dry/wet runtime options
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9498bc7c3218fd1cdf7f513cb2fe0f93d1d6a354
---
libavfilter/af_afir.c | 4 ++--
1 file 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" },
More information about the ffmpeg-cvslog
mailing list