aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-03-07 17:34:28 +0100
committerNicolas George <nicolas.george@normalesup.org>2012-03-07 17:36:04 +0100
commit1ea3b657d635f1f8bec544e74f6af652731fe236 (patch)
tree2ff467930a1471bfd87afe849c4768379eccc707 /libavfilter
parentc088b7f389ebeaf1070d63ac9d38ef20bae0c7cb (diff)
downloadffmpeg-1ea3b657d635f1f8bec544e74f6af652731fe236.tar.gz
vf_yadif: accept input with several frames available.
Fixes ticket #1040.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_yadif.c2
1 files changed, 1 insertions, 1 deletions
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]);