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

Clément Bœsch git at videolan.org
Wed Sep 9 00:47:27 CEST 2015


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

avfilter/unsharp: use AV_OPT_TYPE_BOOL for opencl option

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

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

diff --git a/libavfilter/vf_unsharp.c b/libavfilter/vf_unsharp.c
index fb95e23..a56b023 100644
--- a/libavfilter/vf_unsharp.c
+++ b/libavfilter/vf_unsharp.c
@@ -276,7 +276,7 @@ static const AVOption unsharp_options[] = {
     { "cy",             "set chroma matrix vertical size",   OFFSET(cmsize_y), AV_OPT_TYPE_INT,   { .i64 = 5 }, MIN_SIZE, MAX_SIZE, FLAGS },
     { "chroma_amount",  "set chroma effect strength",        OFFSET(camount),  AV_OPT_TYPE_FLOAT, { .dbl = 0 },       -2,        5, FLAGS },
     { "ca",             "set chroma effect strength",        OFFSET(camount),  AV_OPT_TYPE_FLOAT, { .dbl = 0 },       -2,        5, FLAGS },
-    { "opencl",         "use OpenCL filtering capabilities", OFFSET(opencl), AV_OPT_TYPE_INT, { .i64 = 0 },        0,        1, FLAGS },
+    { "opencl",         "use OpenCL filtering capabilities", OFFSET(opencl),   AV_OPT_TYPE_BOOL,  { .i64 = 0 },        0,        1, FLAGS },
     { NULL }
 };
 



More information about the ffmpeg-cvslog mailing list