[FFmpeg-cvslog] avfilter/interlace: use AV_OPT_TYPE_BOOL

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


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

avfilter/interlace: use AV_OPT_TYPE_BOOL

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

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

diff --git a/libavfilter/vf_interlace.c b/libavfilter/vf_interlace.c
index a520776..28315c3 100644
--- a/libavfilter/vf_interlace.c
+++ b/libavfilter/vf_interlace.c
@@ -46,8 +46,8 @@ static const AVOption interlace_options[] = {
         AV_OPT_TYPE_CONST, {.i64 = MODE_TFF }, INT_MIN, INT_MAX, .flags = V, .unit = "scan" },
     { "bff", "bottom field first", 0,
         AV_OPT_TYPE_CONST, {.i64 = MODE_BFF }, INT_MIN, INT_MAX, .flags = V, .unit = "scan" },
-    { "lowpass", "enable vertical low-pass filter", OFFSET(lowpass),
-        AV_OPT_TYPE_INT,   {.i64 = 1 },        0, 1, .flags = V },
+    { "lowpass", "set vertical low-pass filter", OFFSET(lowpass),
+        AV_OPT_TYPE_BOOL,  {.i64 = 1 },        0, 1, .flags = V },
     { NULL }
 };
 



More information about the ffmpeg-cvslog mailing list