avfilter/vf_fps: update frame drop comment
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 5 Feb 2015 04:55:08 +0000 (05:55 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 5 Feb 2015 05:03:11 +0000 (06:03 +0100)
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_fps.c

index 25dd831..6154f6d 100644 (file)
@@ -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);