[FFmpeg-devel] [PATCH] lavfi/buffersrc: fix failed requests count.
Nicolas George
nicolas.george at normalesup.org
Sun Apr 14 13:56:17 CEST 2013
Fix trac ticket #2467.
Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
libavfilter/buffersrc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index 3e05fb3..5d834b5 100644
--- a/libavfilter/buffersrc.c
+++ b/libavfilter/buffersrc.c
@@ -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;
--
1.7.10.4
More information about the ffmpeg-devel
mailing list