From e235c7648767673c57d89ee5485663b30d592126 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 14 Feb 2022 23:49:31 +0100 Subject: avfilter/vf_tmix: increase max allowed number of frames --- libavfilter/vf_mix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter') diff --git a/libavfilter/vf_mix.c b/libavfilter/vf_mix.c index 27455657f2..b701b44faa 100644 --- a/libavfilter/vf_mix.c +++ b/libavfilter/vf_mix.c @@ -409,7 +409,7 @@ static int tmix_filter_frame(AVFilterLink *inlink, AVFrame *in) } static const AVOption tmix_options[] = { - { "frames", "set number of successive frames to mix", OFFSET(nb_inputs), AV_OPT_TYPE_INT, {.i64=3}, 1, 128, .flags = FLAGS }, + { "frames", "set number of successive frames to mix", OFFSET(nb_inputs), AV_OPT_TYPE_INT, {.i64=3}, 1, 1024, .flags = FLAGS }, { "weights", "set weight for each frame", OFFSET(weights_str), AV_OPT_TYPE_STRING, {.str="1 1 1"}, 0, 0, .flags = TFLAGS }, { "scale", "set scale", OFFSET(scale), AV_OPT_TYPE_FLOAT, {.dbl=0}, 0, INT16_MAX, .flags = TFLAGS }, { NULL }, -- cgit v1.2.3