avfilter/treble: use AV_OPT_TYPE_BOOL for csg option
authorClément Bœsch <u@pkh.me>
Fri, 11 Sep 2015 19:17:05 +0000 (21:17 +0200)
committerClément Bœsch <clement@stupeflix.com>
Sat, 12 Sep 2015 16:24:49 +0000 (18:24 +0200)
libavfilter/af_biquads.c

index 118a0c0..b910687 100644 (file)
@@ -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}
 };