diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2013-01-14 13:43:15 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2013-01-15 11:26:46 -0500 |
commit | 23098bbd509346708b998094daf1dd98339fbc4b (patch) | |
tree | 2864b7bc31fd6fcdf6a1bfab8862ad41f13bc163 | |
parent | 0b22107d95042793a897b6a8823fe43bd55d68de (diff) | |
download | ffmpeg-23098bbd509346708b998094daf1dd98339fbc4b.tar.gz |
vf_fps: add final flushed frames to the dropped frame count
-rw-r--r-- | libavfilter/vf_fps.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c index dc20114804..8fd51bd42e 100644 --- a/libavfilter/vf_fps.c +++ b/libavfilter/vf_fps.c @@ -104,6 +104,7 @@ static av_cold void uninit(AVFilterContext *ctx) { FPSContext *s = ctx->priv; if (s->fifo) { + s->drop += av_fifo_size(s->fifo) / sizeof(AVFilterBufferRef*); flush_fifo(s->fifo); av_fifo_free(s->fifo); } |