diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-09-09 20:31:48 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-10-10 12:41:31 +0200 |
commit | 61777c62d7e4065df055e44f89b72c2e00a4f58f (patch) | |
tree | 508ff3d6b590bdbb4f2f8ce27f6549b76cd32a1b /libpostproc/postprocess_internal.h | |
parent | d2c416fdf1ecc9c354642d7410944a506c4985a6 (diff) | |
download | ffmpeg-61777c62d7e4065df055e44f89b72c2e00a4f58f.tar.gz |
fftools/ffmpeg: stop accessing OutputStream.last_dropped in print_report()
That field is used by the framerate code to track whether any output has
been generated for the last input frame(*). Its use in the last
invocation of print_report() is meant to account for the very last
filtered frame being dropped in the number of dropped frames printed in
the log. However, that is a highly inappropriate place to do so, as it
makes assumptions about vsync logic in completely unrelated code. Move
the increment to encoder flush instead.
(*) the name is misleading, as the input frame has not yet been dropped
and may still be output in the future
Diffstat (limited to 'libpostproc/postprocess_internal.h')
0 files changed, 0 insertions, 0 deletions