[FFmpeg-cvslog] avfilter/kerndeint: use AV_OPT_TYPE_BOOL

Clément Bœsch git at videolan.org
Tue Sep 8 22:55:45 CEST 2015


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sun Sep  6 19:23:27 2015 +0200| [ae32c9916d5b7cb000565f9b1a68fa89cd0d23e5] | committer: Clément Bœsch

avfilter/kerndeint: use AV_OPT_TYPE_BOOL

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

 libavfilter/vf_kerndeint.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/vf_kerndeint.c b/libavfilter/vf_kerndeint.c
index 0e2417a..70ec2bf 100644
--- a/libavfilter/vf_kerndeint.c
+++ b/libavfilter/vf_kerndeint.c
@@ -52,8 +52,8 @@ static const AVOption kerndeint_options[] = {
     { "thresh", "set the threshold", OFFSET(thresh), AV_OPT_TYPE_INT, {.i64=10}, 0, 255, FLAGS },
     { "map",    "set the map", OFFSET(map), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS },
     { "order",  "set the order", OFFSET(order), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS },
-    { "sharp",  "enable sharpening", OFFSET(sharp), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS },
-    { "twoway", "enable twoway", OFFSET(twoway), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS },
+    { "sharp",  "set sharpening", OFFSET(sharp), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS },
+    { "twoway", "set twoway", OFFSET(twoway), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS },
     { NULL }
 };
 



More information about the ffmpeg-cvslog mailing list