Commit 0b3bd787 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge remote-tracking branch 'cigaes/master'

* cigaes/master:
  lavfi/buffersrc: fix failed requests count.
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 3220083c e3e6aa7a
...@@ -123,6 +123,8 @@ static int attribute_align_arg av_buffersrc_add_frame_internal(AVFilterContext * ...@@ -123,6 +123,8 @@ static int attribute_align_arg av_buffersrc_add_frame_internal(AVFilterContext *
AVFrame *copy; AVFrame *copy;
int ret; int ret;
s->nb_failed_requests = 0;
if (!frame) { if (!frame) {
s->eof = 1; s->eof = 1;
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment