[FFmpeg-cvslog] avfilter/vidstabtransform: use AV_OPT_TYPE_BOOL for tripod and debug options

Clément Bœsch git at videolan.org
Wed Sep 9 01:02:14 CEST 2015


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Wed Sep  9 00:59:43 2015 +0200| [14d6c68824d1e5a0e4439b90c4776a9346211c25] | committer: Clément Bœsch

avfilter/vidstabtransform: use AV_OPT_TYPE_BOOL for tripod and debug options

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=14d6c68824d1e5a0e4439b90c4776a9346211c25
---

 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 97e6661..dac0a2d 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}
 };
 



More information about the ffmpeg-cvslog mailing list