[FFmpeg-cvslog] avfilter/deshake: use AV_OPT_TYPE_BOOL for opencl option

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


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Tue Sep  8 23:50:25 2015 +0200| [97692ef1ba80d56c744d9be8180589c40918c0e4] | committer: Clément Bœsch

avfilter/deshake: use AV_OPT_TYPE_BOOL for opencl option

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

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

diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c
index cd06ee7..ac13ecd 100644
--- a/libavfilter/vf_deshake.c
+++ b/libavfilter/vf_deshake.c
@@ -85,7 +85,7 @@ static const AVOption deshake_options[] = {
         { "exhaustive", "exhaustive search",      0, AV_OPT_TYPE_CONST, {.i64=EXHAUSTIVE},       INT_MIN, INT_MAX, FLAGS, "smode" },
         { "less",       "less exhaustive search", 0, AV_OPT_TYPE_CONST, {.i64=SMART_EXHAUSTIVE}, INT_MIN, INT_MAX, FLAGS, "smode" },
     { "filename", "set motion search detailed log file name", OFFSET(filename), AV_OPT_TYPE_STRING, {.str=NULL}, .flags = FLAGS },
-    { "opencl", "use OpenCL filtering capabilities", OFFSET(opencl), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, .flags = FLAGS },
+    { "opencl", "use OpenCL filtering capabilities", OFFSET(opencl), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, .flags = FLAGS },
     { NULL }
 };
 



More information about the ffmpeg-cvslog mailing list