mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/af_agate: change default for detection to rms
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
4a43e559e1
commit
fff7f2df31
|
@ -769,7 +769,7 @@ Default is 2.828427125. Allowed range is from 1 to 8.
|
||||||
|
|
||||||
@item detection
|
@item detection
|
||||||
Choose if exact signal should be taken for detection or an RMS like one.
|
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
|
@item link
|
||||||
Choose if the average level between all channels or the louder channel affects
|
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
|
@item detection
|
||||||
Choose if exact signal should be taken for detection or an RMS like one.
|
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
|
@item link
|
||||||
Choose if the average level between all channels or the louder channel affects
|
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 },
|
{ "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 },
|
{ "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 },
|
{ "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" },
|
{ "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" },
|
{ "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" },
|
{ "link", "set link", OFFSET(link), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, A, "link" },
|
||||||
|
|
Loading…
Reference in New Issue