Commit 9f846ed4 authored by Clément Bœsch's avatar Clément Bœsch

avfilter/haldclut: use AV_OPT_TYPE_BOOL for shortest and repeatlast options

parent dc2802c8
...@@ -772,8 +772,8 @@ static av_cold void haldclut_uninit(AVFilterContext *ctx) ...@@ -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
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment