[FFmpeg-devel] [PATCH] lavfi/buffersrc: fix failed requests count.
Paul B Mahol
onemda at gmail.com
Sun Apr 14 21:06:48 CEST 2013
On 4/14/13, Nicolas George <nicolas.george at normalesup.org> wrote:
> Fix trac ticket #2467.
Could you add more verbose explanation for fix, like what
buggy behaviour it actually fixes and why that solution is correct?
Otherwise probably ok.
>
> 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
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
More information about the ffmpeg-devel
mailing list