Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-11-06 22:47:28 +0300
committerPaul B Mahol <onemda@gmail.com>2022-11-07 10:32:48 +0300
commite17628b720e696159405dfa8117950cf9d194808 (patch)
tree4a2cb4fa756744f52e13c73ef643e0ce9f4b576f
parent7f4c5f6525dcf1513121de3f911c3210f6805ebc (diff)
avfilter/af_speechnorm: change initial gain state
Stops doing unwanted fade-in at start.
-rw-r--r--libavfilter/af_speechnorm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_speechnorm.c b/libavfilter/af_speechnorm.c
index cc0c08feef..4f56ad9a8f 100644
--- a/libavfilter/af_speechnorm.c
+++ b/libavfilter/af_speechnorm.c
@@ -536,7 +536,7 @@ static int config_input(AVFilterLink *inlink)
ChannelContext *cc = &s->cc[ch];
cc->state = -1;
- cc->gain_state = 1.;
+ cc->gain_state = s->max_expansion;
}
switch (inlink->format) {