Commit 18802bc8 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_idet: Use frame_requested instead of prev

This is more robust if the delay is not constant
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3eb5cbe0
...@@ -285,7 +285,7 @@ static int request_frame(AVFilterLink *link) ...@@ -285,7 +285,7 @@ static int request_frame(AVFilterLink *link)
} else if (ret < 0) { } else if (ret < 0) {
return ret; return ret;
} }
} while (!idet->prev); } while (link->frame_requested);
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment