mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 03:59:43 +00:00
vf_fps: add final flushed frames to the dropped frame count
This commit is contained in:
parent
0b22107d95
commit
23098bbd50
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user