avfilter/blend: use AV_OPT_TYPE_BOOL for shortest and repeatlast options

This commit is contained in:
Clément Bœsch 2015-09-08 23:43:54 +02:00
parent 728eff9e38
commit 7a29d10839

View File

@ -153,8 +153,8 @@ typedef struct {
static const AVOption blend_options[] = {
COMMON_OPTIONS,
{ "shortest", "force termination when the shortest input terminates", OFFSET(dinput.shortest), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS },
{ "repeatlast", "repeat last bottom frame", 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", "repeat last bottom frame", OFFSET(dinput.repeatlast), AV_OPT_TYPE_BOOL, {.i64=1}, 0, 1, FLAGS },
{ NULL }
};