From 14d6c68824d1e5a0e4439b90c4776a9346211c25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Wed, 9 Sep 2015 00:59:43 +0200 Subject: [PATCH] avfilter/vidstabtransform: use AV_OPT_TYPE_BOOL for tripod and debug options --- libavfilter/vf_vidstabtransform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_vidstabtransform.c b/libavfilter/vf_vidstabtransform.c index 97e6661d37..dac0a2d19e 100644 --- a/libavfilter/vf_vidstabtransform.c +++ b/libavfilter/vf_vidstabtransform.c @@ -96,9 +96,9 @@ static const AVOption vidstabtransform_options[] = { AV_OPT_TYPE_CONST, {.i64 = VS_BiCubic },0, 0, FLAGS, "interpol"}, {"tripod", "enable virtual tripod mode (same as relative=0:smoothing=0)", OFFSET(tripod), - AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, FLAGS}, + AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, FLAGS}, {"debug", "enable debug mode and writer global motions information to file", OFFSET(debug), - AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, FLAGS}, + AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, FLAGS}, {NULL} };