[FFmpeg-cvslog] avfilter/vf_fps: update frame drop comment
Michael Niedermayer
git at videolan.org
Thu Feb 5 06:12:05 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Feb 5 05:55:08 2015 +0100| [7801a54ec3d922c0e5ea8d65149842c135e6cf71] | committer: Michael Niedermayer
avfilter/vf_fps: update frame drop comment
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7801a54ec3d922c0e5ea8d65149842c135e6cf71
---
libavfilter/vf_fps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c
index 25dd831..6154f6d 100644
--- a/libavfilter/vf_fps.c
+++ b/libavfilter/vf_fps.c
@@ -213,7 +213,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *buf)
outlink->time_base, s->rounding) - s->frames_out ;
if (delta < 1) {
- /* drop the frame and everything buffered except the first */
+ /* drop everything buffered except the last */
int drop = av_fifo_size(s->fifo)/sizeof(AVFrame*);
av_log(ctx, AV_LOG_DEBUG, "Dropping %d frame(s).\n", drop);
More information about the ffmpeg-cvslog
mailing list