Browse code

avfilter/treble: use AV_OPT_TYPE_BOOL for csg option

Clément Bœsch authored on 2015/09/12 04:17:05
Showing 1 changed files
... ...
@@ -534,7 +534,7 @@ static const AVOption bandpass_options[] = {
534 534
     {"s", "slope", 0, AV_OPT_TYPE_CONST, {.i64=SLOPE}, 0, 0, FLAGS, "width_type"},
535 535
     {"width", "set band-width", OFFSET(width), AV_OPT_TYPE_DOUBLE, {.dbl=0.5}, 0, 999, FLAGS},
536 536
     {"w",     "set band-width", OFFSET(width), AV_OPT_TYPE_DOUBLE, {.dbl=0.5}, 0, 999, FLAGS},
537
-    {"csg",   "use constant skirt gain", OFFSET(csg), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS},
537
+    {"csg",   "use constant skirt gain", OFFSET(csg), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS},
538 538
     {NULL}
539 539
 };
540 540