summaryrefslogtreecommitdiff
path: root/libavfilter/af_compand.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-05-14 11:59:04 +0200
committerPaul B Mahol <onemda@gmail.com>2017-05-14 11:59:04 +0200
commit69b83f599224932a94d56081d008d373e1e51709 (patch)
treea08ebf57a3502597b5fb0f0ba9d33342093ec96f /libavfilter/af_compand.c
parent8630b2cd36c57918acfe18302fe77d1ceefbd676 (diff)
avfilter/af_compand: fix default companding to avoid clipping
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/af_compand.c')
-rw-r--r--libavfilter/af_compand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_compand.c b/libavfilter/af_compand.c
index 2acaa99ea2..8ff0ff9465 100644
--- a/libavfilter/af_compand.c
+++ b/libavfilter/af_compand.c
@@ -74,7 +74,7 @@ typedef struct CompandContext {
static const AVOption compand_options[] = {
{ "attacks", "set time over which increase of volume is determined", OFFSET(attacks), AV_OPT_TYPE_STRING, { .str = "0.3" }, 0, 0, A },
{ "decays", "set time over which decrease of volume is determined", OFFSET(decays), AV_OPT_TYPE_STRING, { .str = "0.8" }, 0, 0, A },
- { "points", "set points of transfer function", OFFSET(points), AV_OPT_TYPE_STRING, { .str = "-70/-70|-60/-20" }, 0, 0, A },
+ { "points", "set points of transfer function", OFFSET(points), AV_OPT_TYPE_STRING, { .str = "-70/-70|-60/-20|1/0" }, 0, 0, A },
{ "soft-knee", "set soft-knee", OFFSET(curve_dB), AV_OPT_TYPE_DOUBLE, { .dbl = 0.01 }, 0.01, 900, A },
{ "gain", "set output gain", OFFSET(gain_dB), AV_OPT_TYPE_DOUBLE, { .dbl = 0 }, -900, 900, A },
{ "volume", "set initial volume", OFFSET(initial_volume), AV_OPT_TYPE_DOUBLE, { .dbl = 0 }, -900, 0, A },