Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2015-09-09 00:16:49 +0300
committerClément Bœsch <u@pkh.me>2015-09-09 00:16:49 +0300
commit5c64ae64bde8699f7f45e283e139f75f7f2c30b7 (patch)
tree3f9299941da09ad4b31f6d0eb8d2ea4bf401ec3f /libavfilter/af_silenceremove.c
parent6d79aae63c953ea10e0815dded83c15ea3a3a7cf (diff)
avfilter/silenceremove: use AV_OPT_TYPE_BOOL for leave_silence option
Diffstat (limited to 'libavfilter/af_silenceremove.c')
-rw-r--r--libavfilter/af_silenceremove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_silenceremove.c b/libavfilter/af_silenceremove.c
index cd1e0384d3..33238386c7 100644
--- a/libavfilter/af_silenceremove.c
+++ b/libavfilter/af_silenceremove.c
@@ -81,7 +81,7 @@ static const AVOption silenceremove_options[] = {
{ "stop_periods", NULL, OFFSET(stop_periods), AV_OPT_TYPE_INT, {.i64=0}, -9000, 9000, FLAGS },
{ "stop_duration", NULL, OFFSET(stop_duration), AV_OPT_TYPE_DURATION, {.i64=0}, 0, 9000, FLAGS },
{ "stop_threshold", NULL, OFFSET(stop_threshold), AV_OPT_TYPE_DOUBLE, {.dbl=0}, 0, DBL_MAX, FLAGS },
- { "leave_silence", NULL, OFFSET(leave_silence), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS },
+ { "leave_silence", NULL, OFFSET(leave_silence), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS },
{ NULL }
};