[FFmpeg-cvslog] avfilter/kerndeint: use AV_OPT_TYPE_BOOL for the previously missed options

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


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

avfilter/kerndeint: use AV_OPT_TYPE_BOOL for the previously missed options

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

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

diff --git a/libavfilter/vf_kerndeint.c b/libavfilter/vf_kerndeint.c
index 70ec2bf..d2ef070 100644
--- a/libavfilter/vf_kerndeint.c
+++ b/libavfilter/vf_kerndeint.c
@@ -50,10 +50,10 @@ typedef struct {
 #define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
 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",  "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 },
+    { "map",    "set the map",    OFFSET(map),    AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS },
+    { "order",  "set the order",  OFFSET(order),  AV_OPT_TYPE_BOOL, {.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