avfilter/vf_fps: update frame drop comment

Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-02-05 05:55:08 +01:00
parent f2579dbb4b
commit 7801a54ec3
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *buf)
outlink->time_base, s->rounding) - s->frames_out ; outlink->time_base, s->rounding) - s->frames_out ;
if (delta < 1) { 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*); int drop = av_fifo_size(s->fifo)/sizeof(AVFrame*);
av_log(ctx, AV_LOG_DEBUG, "Dropping %d frame(s).\n", drop); av_log(ctx, AV_LOG_DEBUG, "Dropping %d frame(s).\n", drop);