avfilter/treble: use AV_OPT_TYPE_BOOL for csg option

pull/151/head
Clément Bœsch 10 years ago committed by Clément Bœsch
parent 8e22becbc7
commit 1e2c23f06c
  1. 2
      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}
};

Loading…
Cancel
Save