1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2026-10-24 02:09:03 +03:00
Files
ffmpeg/libavfilter
yusuke iijima e45aa1bf83 avfilter/deinterlace_vaapi: keep previous PTS in 64 bits
prev_pts stores an AVFrame timestamp but is declared as int. When the
input PTS exceeds the range of int, the narrowing conversion changes
the value used to extrapolate the second field timestamp at EOF.

With a 1/90000 input time base and 32-bit int, this can happen after
about 6 hours and 38 minutes. On the tested platform, the final output
timestamp jumps forward by 2^32 ticks in the 1/180000 output time base,
or about 23861 seconds. This can greatly inflate the output duration.

Store prev_pts as int64_t to preserve the input timestamp. The EOF
calculation and the normal field interpolation remain unchanged.

Signed-off-by: yusuke iijima <yiijima@gmail.com>
2026-09-29 14:07:46 +00:00
..
2023-11-18 19:55:42 +01:00
2024-08-19 21:48:04 +02:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2024-08-19 21:48:04 +02:00
…
…
…
…
…
2024-08-19 21:48:04 +02:00
2025-12-14 12:41:00 +05:30
…
…
2025-08-03 13:48:47 +02:00
…
…
2024-08-19 21:48:04 +02:00
…
…
…
2024-08-19 21:48:04 +02:00
…
…
2025-08-03 13:48:47 +02:00
2024-07-01 22:31:02 +02:00
2024-08-19 21:48:04 +02:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2024-08-19 21:48:04 +02:00
…
2024-02-16 21:34:38 +01:00
2026-09-12 23:52:20 +00:00
2025-06-15 21:00:38 +05:30
2025-10-16 18:41:19 +02:00
2025-07-04 01:32:27 +02:00
2025-07-04 01:32:27 +02:00
2026-05-15 20:29:29 +02:00
2026-05-15 20:29:29 +02:00
2025-08-03 13:48:47 +02:00
…
2026-09-16 19:02:27 +00:00
…
…