diff options
author | Nicolas Gaullier <nicolas.gaullier@cji.paris> | 2024-10-04 11:02:49 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-10-13 13:54:03 +0200 |
commit | de976eaf30df33e86c58c8c9af9905c1d8441934 (patch) | |
tree | 59a515f587d84dad638b9c9aac3244cef5794c13 /libavformat/nullenc.c | |
parent | 31a63e4e011a63e3ae6dd2a02864055e29bd467a (diff) | |
download | ffmpeg-de976eaf30df33e86c58c8c9af9905c1d8441934.tar.gz |
avfilter/framesync: fix forward EOF pts
Note1: when the EOF pts is not accurate enough, the last frame
can be dropped by vf_fps with default rounding.
Note2: vf_scale use framesync since e82a3997cdd6c0894869b33ba42430ac3,
so this is a very commonplace scenario.
For example:
./ffprobe -f lavfi testsrc=d=1,scale,fps -of flat \
-count_frames -show_entries stream=nb_read_frames
Before:
streams.stream.0.nb_read_frames="24"
After:
streams.stream.0.nb_read_frames="25"
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/nullenc.c')
0 files changed, 0 insertions, 0 deletions