avfilter/haldclut: use AV_OPT_TYPE_BOOL for shortest and repeatlast options

This commit is contained in:
Clément Bœsch 2015-09-09 00:30:53 +02:00
parent dc2802c81e
commit 9f846ed4c7

View File

@ -772,8 +772,8 @@ static av_cold void haldclut_uninit(AVFilterContext *ctx)
}
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 },
{ "repeatlast", "continue applying the last clut after eos", OFFSET(dinput.repeatlast), AV_OPT_TYPE_INT, { .i64 = 1 }, 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_BOOL, { .i64 = 1 }, 0, 1, FLAGS },
COMMON_OPTIONS
};