ffmpeg | branch: master | Michael Niedermayer <[email protected]> | Thu Jan 1 02:30:16 2015 +0100| [18802bc81ce8f6fe667f33e680990676a3407609] | committer: Michael Niedermayer
avfilter/vf_idet: Use frame_requested instead of prev This is more robust if the delay is not constant Signed-off-by: Michael Niedermayer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=18802bc81ce8f6fe667f33e680990676a3407609 --- libavfilter/vf_idet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_idet.c b/libavfilter/vf_idet.c index 9a25042..7227a40 100644 --- a/libavfilter/vf_idet.c +++ b/libavfilter/vf_idet.c @@ -285,7 +285,7 @@ static int request_frame(AVFilterLink *link) } else if (ret < 0) { return ret; } - } while (!idet->prev); + } while (link->frame_requested); return 0; } _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
