diff options
author | Paul B Mahol <onemda@gmail.com> | 2015-12-03 12:20:09 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2015-12-03 13:07:52 +0300 |
commit | fff7f2df31e942edd33287a3570466ebb9f91811 (patch) | |
tree | dcac43173fea8f23accb00fcacac564325f2826f /libavfilter/af_agate.c | |
parent | 4a43e559e1b31072b384eb96fc0a8533f2b849ac (diff) |
avfilter/af_agate: change default for detection to rms
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/af_agate.c')
-rw-r--r-- | libavfilter/af_agate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_agate.c b/libavfilter/af_agate.c index 142ac63f96..291e803827 100644 --- a/libavfilter/af_agate.c +++ b/libavfilter/af_agate.c @@ -69,7 +69,7 @@ static const AVOption options[] = { { "release", "set release", OFFSET(release), AV_OPT_TYPE_DOUBLE, {.dbl=250}, 0.01, 9000, A }, { "makeup", "set makeup gain", OFFSET(makeup), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 1, 64, A }, { "knee", "set knee", OFFSET(knee), AV_OPT_TYPE_DOUBLE, {.dbl=2.828427125}, 1, 8, A }, - { "detection", "set detection", OFFSET(detection), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, A, "detection" }, + { "detection", "set detection", OFFSET(detection), AV_OPT_TYPE_INT, {.i64=1}, 0, 1, A, "detection" }, { "peak", 0, 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, A, "detection" }, { "rms", 0, 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 0, A, "detection" }, { "link", "set link", OFFSET(link), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, A, "link" }, |