avfilter/haldclut: use AV_OPT_TYPE_BOOL for shortest and repeatlast options

pull/148/head
Clément Bœsch 9 years ago
parent dc2802c81e
commit 9f846ed4c7
  1. 4
      libavfilter/vf_lut3d.c

@ -772,8 +772,8 @@ static av_cold void haldclut_uninit(AVFilterContext *ctx)
} }
static const AVOption haldclut_options[] = { static const AVOption haldclut_options[] = {
{ "shortest", "force termination when the shortest input terminates", OFFSET(dinput.shortest), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, FLAGS }, { "shortest", "force termination when the shortest input terminates", OFFSET(dinput.shortest), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, FLAGS },
{ "repeatlast", "continue applying the last clut after eos", OFFSET(dinput.repeatlast), AV_OPT_TYPE_INT, { .i64 = 1 }, 0, 1, FLAGS }, { "repeatlast", "continue applying the last clut after eos", OFFSET(dinput.repeatlast), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, FLAGS },
COMMON_OPTIONS COMMON_OPTIONS
}; };

Loading…
Cancel
Save