[FFmpeg-cvslog] avfilter/extrastereo: use AV_OPT_TYPE_BOOL for clipping option

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


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

avfilter/extrastereo: use AV_OPT_TYPE_BOOL for clipping option

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

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

diff --git a/libavfilter/af_extrastereo.c b/libavfilter/af_extrastereo.c
index 4877244..b4f8c85 100644
--- a/libavfilter/af_extrastereo.c
+++ b/libavfilter/af_extrastereo.c
@@ -35,7 +35,7 @@ typedef struct ExtraStereoContext {
 
 static const AVOption extrastereo_options[] = {
     { "m", "set the difference coefficient", OFFSET(mult), AV_OPT_TYPE_FLOAT, {.dbl=2.5}, -10, 10, A },
-    { "c", "enable clipping",                OFFSET(clip), AV_OPT_TYPE_INT,   {.i64=1},     0,  1, A },
+    { "c", "enable clipping",                OFFSET(clip), AV_OPT_TYPE_BOOL,  {.i64=1},     0,  1, A },
     { NULL }
 };
 



More information about the ffmpeg-cvslog mailing list