1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-07-18 10:21:39 +02:00

avfilter/treble: use AV_OPT_TYPE_BOOL for csg option

This commit is contained in:
Clément Bœsch 2015-09-11 21:17:05 +02:00 committed by Clément Bœsch
parent 8e22becbc7
commit 1e2c23f06c

View 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}
};