[FFmpeg-cvslog] avfilter/deband: use AV_OPT_TYPE_BOOL

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


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

avfilter/deband: use AV_OPT_TYPE_BOOL

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

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

diff --git a/libavfilter/vf_deband.c b/libavfilter/vf_deband.c
index 3689721..f25cbdd 100644
--- a/libavfilter/vf_deband.c
+++ b/libavfilter/vf_deband.c
@@ -58,7 +58,7 @@ static const AVOption deband_options[] = {
     { "r",         "set range",               OFFSET(range),        AV_OPT_TYPE_INT,   {.i64=16},    INT_MIN, INT_MAX, FLAGS },
     { "direction", "set direction",           OFFSET(direction),    AV_OPT_TYPE_FLOAT, {.dbl=2*M_PI},-2*M_PI,  2*M_PI, FLAGS },
     { "d",         "set direction",           OFFSET(direction),    AV_OPT_TYPE_FLOAT, {.dbl=2*M_PI},-2*M_PI,  2*M_PI, FLAGS },
-    { "blur",      "enable blur",             OFFSET(blur),         AV_OPT_TYPE_INT,   {.i64=1},           0,       1, FLAGS },
+    { "blur",      "set blur",                OFFSET(blur),         AV_OPT_TYPE_BOOL,  {.i64=1},           0,       1, FLAGS },
     { NULL }
 };
 



More information about the ffmpeg-cvslog mailing list