Commit fff7f2df authored by Paul B Mahol's avatar Paul B Mahol

avfilter/af_agate: change default for detection to rms

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 4a43e559
......@@ -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
......
......@@ -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" },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment