avfilter/delogo: use AV_OPT_TYPE_BOOL for show option

pull/148/head
Clément Bœsch 9 years ago
parent 96dbc5bdf9
commit ee4f0ec0cd
  1. 2
      libavfilter/vf_delogo.c

@ -163,7 +163,7 @@ static const AVOption delogo_options[]= {
{ "h", "set logo height", OFFSET(h), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, FLAGS },
{ "band", "set delogo area band size", OFFSET(band), AV_OPT_TYPE_INT, { .i64 = 4 }, 1, INT_MAX, FLAGS },
{ "t", "set delogo area band size", OFFSET(band), AV_OPT_TYPE_INT, { .i64 = 4 }, 1, INT_MAX, FLAGS },
{ "show", "show delogo area", OFFSET(show), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, FLAGS },
{ "show", "show delogo area", OFFSET(show), AV_OPT_TYPE_BOOL,{ .i64 = 0 }, 0, 1, FLAGS },
{ NULL }
};

Loading…
Cancel
Save