Commit 7a29d108 authored by Clément Bœsch's avatar Clément Bœsch

avfilter/blend: use AV_OPT_TYPE_BOOL for shortest and repeatlast options

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