diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-09-23 23:10:51 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-09-23 23:10:51 +0200 |
commit | a9485d7318d1354acc29006794ffcb85f7c3d6d6 (patch) | |
tree | 55e88ed0c7c6f7aff81204932b48f5424a39b304 /libavfilter/af_silencedetect.c | |
parent | db6b4b56b322969d99f77e087e9e72295738efb4 (diff) |
avfilter: document mono option of silencedetect filter
Also provide shorter option, and reorder options in documentation.
Diffstat (limited to 'libavfilter/af_silencedetect.c')
-rw-r--r-- | libavfilter/af_silencedetect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/af_silencedetect.c b/libavfilter/af_silencedetect.c index d9582aa589..3a71f3902a 100644 --- a/libavfilter/af_silencedetect.c +++ b/libavfilter/af_silencedetect.c @@ -57,7 +57,8 @@ static const AVOption silencedetect_options[] = { { "noise", "set noise tolerance", OFFSET(noise), AV_OPT_TYPE_DOUBLE, {.dbl=0.001}, 0, DBL_MAX, FLAGS }, { "d", "set minimum duration in seconds", OFFSET(duration), AV_OPT_TYPE_DOUBLE, {.dbl=2.}, 0, 24*60*60, FLAGS }, { "duration", "set minimum duration in seconds", OFFSET(duration), AV_OPT_TYPE_DOUBLE, {.dbl=2.}, 0, 24*60*60, FLAGS }, - { "mono", "check each channel separately", OFFSET(mono), AV_OPT_TYPE_BOOL, {.i64=0.}, 0, 1, FLAGS }, + { "mono", "check each channel separately", OFFSET(mono), AV_OPT_TYPE_BOOL, {.i64=0.}, 0, 1, FLAGS }, + { "m", "check each channel separately", OFFSET(mono), AV_OPT_TYPE_BOOL, {.i64=0.}, 0, 1, FLAGS }, { NULL } }; |