vf_yadif: accept input with several frames available.

Fixes ticket #1040.
pull/3/merge
Nicolas George 13 years ago
parent c088b7f389
commit 1ea3b657d6
  1. 2
      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]);

Loading…
Cancel
Save