Browse Source

vf_yadif: accept input with several frames available.

Fixes ticket #1040.
tags/n0.11
Nicolas George 13 years ago
parent
commit
1ea3b657d6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_yadif.c

+ 1
- 1
libavfilter/vf_yadif.c View File

@@ -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