[FFmpeg-cvslog] avfilter/treble: use AV_OPT_TYPE_BOOL for csg option

Clément Bœsch git at videolan.org
Sat Sep 12 18:27:31 CEST 2015


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Fri Sep 11 21:17:05 2015 +0200| [1e2c23f06c9c66c3063af70c1f32a893db084c3a] | committer: Clément Bœsch

avfilter/treble: use AV_OPT_TYPE_BOOL for csg option

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

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

diff --git a/libavfilter/af_biquads.c b/libavfilter/af_biquads.c
index 118a0c0..b910687 100644
--- a/libavfilter/af_biquads.c
+++ b/libavfilter/af_biquads.c
@@ -534,7 +534,7 @@ static const AVOption bandpass_options[] = {
     {"s", "slope", 0, AV_OPT_TYPE_CONST, {.i64=SLOPE}, 0, 0, FLAGS, "width_type"},
     {"width", "set band-width", OFFSET(width), AV_OPT_TYPE_DOUBLE, {.dbl=0.5}, 0, 999, FLAGS},
     {"w",     "set band-width", OFFSET(width), AV_OPT_TYPE_DOUBLE, {.dbl=0.5}, 0, 999, FLAGS},
-    {"csg",   "use constant skirt gain", OFFSET(csg), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS},
+    {"csg",   "use constant skirt gain", OFFSET(csg), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS},
     {NULL}
 };
 



More information about the ffmpeg-cvslog mailing list