[FFmpeg-cvslog] avfilter/vf_idet: Use frame_requested instead of prev

Michael Niedermayer git at videolan.org
Thu Jan 1 03:15:46 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | 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 <michaelni at gmx.at>

> 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;
 }



More information about the ffmpeg-cvslog mailing list