From 1ea3b657d635f1f8bec544e74f6af652731fe236 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Wed, 7 Mar 2012 17:34:28 +0100 Subject: [PATCH] vf_yadif: accept input with several frames available. Fixes ticket #1040. --- libavfilter/vf_yadif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c index c9f870539d..4ade615c4d 100644 --- a/libavfilter/vf_yadif.c +++ b/libavfilter/vf_yadif.c @@ -315,7 +315,7 @@ static int poll_frame(AVFilterLink *link) val = avfilter_poll_frame(link->src->inputs[0]); - if (val==1 && !yadif->next) { //FIXME change API to not requre this red tape + if (val >= 1 && !yadif->next) { //FIXME change API to not requre this red tape if ((ret = avfilter_request_frame(link->src->inputs[0])) < 0) return ret; val = avfilter_poll_frame(link->src->inputs[0]);