[FFmpeg-cvslog] avfilter/af_agate: change default for detection to rms
Paul B Mahol
git at videolan.org
Thu Dec 3 11:08:46 CET 2015
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Dec 3 10:20:09 2015 +0100| [fff7f2df31e942edd33287a3570466ebb9f91811] | committer: Paul B Mahol
avfilter/af_agate: change default for detection to rms
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fff7f2df31e942edd33287a3570466ebb9f91811
---
doc/filters.texi | 4 ++--
libavfilter/af_agate.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/filters.texi b/doc/filters.texi
index 4545ff9..bf299ca 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -769,7 +769,7 @@ Default is 2.828427125. Allowed range is from 1 to 8.
@item detection
Choose if exact signal should be taken for detection or an RMS like one.
-Default is peak. Can be peak or rms.
+Default is rms. Can be peak or rms.
@item link
Choose if the average level between all channels or the louder channel affects
@@ -2650,7 +2650,7 @@ Default is 2.828427125. Allowed range is from 1 to 8.
@item detection
Choose if exact signal should be taken for detection or an RMS like one.
-Default is peak. Can be peak or rms.
+Default is rms. Can be peak or rms.
@item link
Choose if the average level between all channels or the louder channel affects
diff --git a/libavfilter/af_agate.c b/libavfilter/af_agate.c
index 142ac63..291e803 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" },
More information about the ffmpeg-cvslog
mailing list