mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vf_fps: update frame drop comment
Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f2579dbb4b
commit
7801a54ec3
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue