[FFmpeg-cvslog] avfilter/vf_tmix: increase max allowed number of frames

Paul B Mahol git at videolan.org
Tue Feb 15 00:57:05 EET 2022


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Feb 14 23:49:31 2022 +0100| [e235c7648767673c57d89ee5485663b30d592126] | committer: Paul B Mahol

avfilter/vf_tmix: increase max allowed number of frames

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e235c7648767673c57d89ee5485663b30d592126
---

 libavfilter/vf_mix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 },



More information about the ffmpeg-cvslog mailing list