[FFmpeg-cvslog] avfilter/delogo: use AV_OPT_TYPE_BOOL for show option

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


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

avfilter/delogo: use AV_OPT_TYPE_BOOL for show option

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

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

diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c
index 50a548b..fa5e227 100644
--- a/libavfilter/vf_delogo.c
+++ b/libavfilter/vf_delogo.c
@@ -163,7 +163,7 @@ static const AVOption delogo_options[]= {
     { "h",    "set logo height",           OFFSET(h),    AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, FLAGS },
     { "band", "set delogo area band size", OFFSET(band), AV_OPT_TYPE_INT, { .i64 =  4 },  1, INT_MAX, FLAGS },
     { "t",    "set delogo area band size", OFFSET(band), AV_OPT_TYPE_INT, { .i64 =  4 },  1, INT_MAX, FLAGS },
-    { "show", "show delogo area",          OFFSET(show), AV_OPT_TYPE_INT, { .i64 =  0 },  0, 1,       FLAGS },
+    { "show", "show delogo area",          OFFSET(show), AV_OPT_TYPE_BOOL,{ .i64 =  0 },  0, 1,       FLAGS },
     { NULL }
 };
 



More information about the ffmpeg-cvslog mailing list