mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-23 11:39:49 +00:00
avfilter/haldclut: use AV_OPT_TYPE_BOOL for shortest and repeatlast options
This commit is contained in:
parent
dc2802c81e
commit
9f846ed4c7
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user