[FFmpeg-cvslog] vf_yadif: accept input with several frames available.
Nicolas George
git at videolan.org
Wed Mar 7 23:53:43 CET 2012
ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Wed Mar 7 17:34:28 2012 +0100| [1ea3b657d635f1f8bec544e74f6af652731fe236] | committer: Nicolas George
vf_yadif: accept input with several frames available.
Fixes ticket #1040.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1ea3b657d635f1f8bec544e74f6af652731fe236
---
libavfilter/vf_yadif.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c
index c9f8705..4ade615 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]);
More information about the ffmpeg-cvslog
mailing list