[FFmpeg-cvslog] avfilter/rotate: use AV_OPT_TYPE_BOOL for bilinear option

Clément Bœsch git at videolan.org
Tue Sep 8 23:04:34 CEST 2015


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Tue Sep  8 23:04:13 2015 +0200| [2d7726f7ab6c7939aa76c4ab6b22a9d6b2308c17] | committer: Clément Bœsch

avfilter/rotate: use AV_OPT_TYPE_BOOL for bilinear option

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

 libavfilter/vf_rotate.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_rotate.c b/libavfilter/vf_rotate.c
index 46ab796..f12a103 100644
--- a/libavfilter/vf_rotate.c
+++ b/libavfilter/vf_rotate.c
@@ -101,7 +101,7 @@ static const AVOption rotate_options[] = {
     { "oh",        "set output height expression", OFFSET(outh_expr_str), AV_OPT_TYPE_STRING, {.str="ih"}, CHAR_MIN, CHAR_MAX, .flags=FLAGS },
     { "fillcolor", "set background fill color",    OFFSET(fillcolor_str), AV_OPT_TYPE_STRING, {.str="black"}, CHAR_MIN, CHAR_MAX, .flags=FLAGS },
     { "c",         "set background fill color",    OFFSET(fillcolor_str), AV_OPT_TYPE_STRING, {.str="black"}, CHAR_MIN, CHAR_MAX, .flags=FLAGS },
-    { "bilinear",  "use bilinear interpolation",   OFFSET(use_bilinear),  AV_OPT_TYPE_INT, {.i64=1}, 0, 1, .flags=FLAGS },
+    { "bilinear",  "use bilinear interpolation",   OFFSET(use_bilinear),  AV_OPT_TYPE_BOOL, {.i64=1}, 0, 1, .flags=FLAGS },
     { NULL }
 };
 



More information about the ffmpeg-cvslog mailing list