diff options
author | Paul B Mahol <onemda@gmail.com> | 2017-05-20 13:34:51 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-05-20 13:43:11 +0300 |
commit | e8ae23db27bd308b299c00f2a10e1243cdb08103 (patch) | |
tree | 79ebb354b638e83c40cd8d350e117014dae36893 /libavfilter | |
parent | 64ea4d102a070b95832ae4a751688f87da7760a2 (diff) |
avfilter/af_sidechaincompress: change default makeup gain to 1
This avoids producing out of range or clipped samples.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/af_sidechaincompress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_sidechaincompress.c b/libavfilter/af_sidechaincompress.c index 3f540e2dff..d1dfc106e2 100644 --- a/libavfilter/af_sidechaincompress.c +++ b/libavfilter/af_sidechaincompress.c @@ -72,7 +72,7 @@ static const AVOption options[] = { { "ratio", "set ratio", OFFSET(ratio), AV_OPT_TYPE_DOUBLE, {.dbl=2}, 1, 20, A|F }, { "attack", "set attack", OFFSET(attack), AV_OPT_TYPE_DOUBLE, {.dbl=20}, 0.01, 2000, A|F }, { "release", "set release", OFFSET(release), AV_OPT_TYPE_DOUBLE, {.dbl=250}, 0.01, 9000, A|F }, - { "makeup", "set make up gain", OFFSET(makeup), AV_OPT_TYPE_DOUBLE, {.dbl=2}, 1, 64, A|F }, + { "makeup", "set make up gain", OFFSET(makeup), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 1, 64, A|F }, { "knee", "set knee", OFFSET(knee), AV_OPT_TYPE_DOUBLE, {.dbl=2.82843}, 1, 8, A|F }, { "link", "set link type", OFFSET(link), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, A|F, "link" }, { "average", 0, 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, A|F, "link" }, |