mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
lavfi/buffersrc: fix failed requests count.
The line was lost during the AVFrame transition. It causes programs relying on the failed requests count, especially ffmpeg, to add frames to the wrong input. Fix trac ticket #2467.
This commit is contained in:
parent
e5644313c5
commit
e3e6aa7afb
1 changed files with 2 additions and 0 deletions
|
|
@ -123,6 +123,8 @@ static int attribute_align_arg av_buffersrc_add_frame_internal(AVFilterContext *
|
|||
AVFrame *copy;
|
||||
int ret;
|
||||
|
||||
s->nb_failed_requests = 0;
|
||||
|
||||
if (!frame) {
|
||||
s->eof = 1;
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue