aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2015-09-09 00:47:04 +0200
committerClément Bœsch <u@pkh.me>2015-09-09 00:47:04 +0200
commitb0431383cb7b56c4043a317ee2165a7de6053342 (patch)
tree90a40ae691a338be97baf68899b932cbf0f4f40d
parent9b8e514c14bff68b4086f22dddded4ea9c880a61 (diff)
downloadffmpeg-b0431383cb7b56c4043a317ee2165a7de6053342.tar.gz
avfilter/unsharp: use AV_OPT_TYPE_BOOL for opencl option
-rw-r--r--libavfilter/vf_unsharp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_unsharp.c b/libavfilter/vf_unsharp.c
index fb95e23bd4..a56b023460 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 }
};