mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vf_mix: always output frame if array is filled
This commit is contained in:
parent
9e0e8e10c7
commit
08b83bf828
|
@ -354,6 +354,7 @@ static int tmix_filter_frame(AVFilterLink *inlink, AVFrame *in)
|
|||
if (s->nb_frames < s->nb_inputs) {
|
||||
s->frames[s->nb_frames] = in;
|
||||
s->nb_frames++;
|
||||
if (s->nb_frames < s->nb_inputs)
|
||||
return 0;
|
||||
} else {
|
||||
av_frame_free(&s->frames[0]);
|
||||
|
|
Loading…
Reference in New Issue