git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c088b7f
)
vf_yadif: accept input with several frames available.
author
Nicolas George
<nicolas.george@normalesup.org>
Wed, 7 Mar 2012 16:34:28 +0000
(17:34 +0100)
committer
Nicolas George
<nicolas.george@normalesup.org>
Wed, 7 Mar 2012 16:36:04 +0000
(17:36 +0100)
Fixes ticket #1040.
libavfilter/vf_yadif.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_yadif.c
b/libavfilter/vf_yadif.c
index
c9f8705
..
4ade615
100644
(file)
--- 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]);