aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_mix.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-02-14 23:49:31 +0100
committerPaul B Mahol <onemda@gmail.com>2022-02-14 23:57:58 +0100
commite235c7648767673c57d89ee5485663b30d592126 (patch)
tree30ffcf018f135a24b88bcaea8fc63a86c1ab754f /libavfilter/vf_mix.c
parent81df787b53eb5c6433731f6eaaf7f2a94d8a8c80 (diff)
downloadffmpeg-e235c7648767673c57d89ee5485663b30d592126.tar.gz
avfilter/vf_tmix: increase max allowed number of frames
Diffstat (limited to 'libavfilter/vf_mix.c')
-rw-r--r--libavfilter/vf_mix.c2
1 files changed, 1 insertions, 1 deletions
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 },