aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_fps.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-05 05:55:08 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-05 06:03:11 +0100
commit7801a54ec3d922c0e5ea8d65149842c135e6cf71 (patch)
tree32ebec5f955b75f383738a6bf711986898220bba /libavfilter/vf_fps.c
parentf2579dbb4b31e6ae731e7f5555680528ef3020ab (diff)
downloadffmpeg-7801a54ec3d922c0e5ea8d65149842c135e6cf71.tar.gz
avfilter/vf_fps: update frame drop comment
Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_fps.c')
-rw-r--r--libavfilter/vf_fps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c
index 25dd83123a..6154f6d43e 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);