diff options
author | Paul B Mahol <onemda@gmail.com> | 2017-05-15 15:05:43 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-05-15 15:29:18 +0300 |
commit | 13f4d077ed27c53fffd114f92fbd7b2c9cfcec77 (patch) | |
tree | 2cf77f8c1fce7f8c1e6833fc2403eb25337f6654 /libavfilter | |
parent | 7760ed7e9606203eea478fc3620665859c739dc0 (diff) |
avfilter/af_compand: change default attack to 0
Fixes many distortions.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/af_compand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_compand.c b/libavfilter/af_compand.c index 8ff0ff9465..8589b1ef09 100644 --- a/libavfilter/af_compand.c +++ b/libavfilter/af_compand.c @@ -72,7 +72,7 @@ typedef struct CompandContext { #define A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM 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 }, + { "attacks", "set time over which increase of volume is determined", OFFSET(attacks), AV_OPT_TYPE_STRING, { .str = "0" }, 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|1/0" }, 0, 0, A }, { "soft-knee", "set soft-knee", OFFSET(curve_dB), AV_OPT_TYPE_DOUBLE, { .dbl = 0.01 }, 0.01, 900, A }, |