From: Clément Bœsch Date: Tue, 8 Sep 2015 22:59:43 +0000 (+0200) Subject: avfilter/vidstabtransform: use AV_OPT_TYPE_BOOL for tripod and debug options X-Git-Tag: n3.0~2864 X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=14d6c68824d1e5a0e4439b90c4776a9346211c25;hp=b761033e7f64ba186b232469d064c854ad7e483e;ds=sidebyside avfilter/vidstabtransform: use AV_OPT_TYPE_BOOL for tripod and debug options --- 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} };