mirror of https://git.ffmpeg.org/ffmpeg.git
vf_yadif: accept input with several frames available.
Fixes ticket #1040.
This commit is contained in:
parent
c088b7f389
commit
1ea3b657d6
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue