diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-05-28 16:22:58 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-06-05 16:15:04 +0200 |
commit | ccf219e361957eef8fab45ce8b02cdf4d42e5e28 (patch) | |
tree | 046bc81e14869a524392bc7eecca2702b857e082 /tests/ref/fate/gif-gray | |
parent | c7a05ac117bc4152b27aa6127d67cb5bc0f09271 (diff) | |
download | ffmpeg-ccf219e361957eef8fab45ce8b02cdf4d42e5e28.tar.gz |
fftools/ffmpeg_enc: avoid breaking exactly integer timestamps in vsync code
The code will currently add a small offset to avoid exact midpoints, but
this can cause inexact results when a float timestamp is exactly
representable as an integer.
Fixes off-by-one in the first frame duration in multiple FATE tests.
Diffstat (limited to 'tests/ref/fate/gif-gray')
-rw-r--r-- | tests/ref/fate/gif-gray | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ref/fate/gif-gray b/tests/ref/fate/gif-gray index aa3969212d..c246d8a670 100644 --- a/tests/ref/fate/gif-gray +++ b/tests/ref/fate/gif-gray @@ -3,7 +3,7 @@ #codec_id 0: rawvideo #dimensions 0: 480x360 #sar 0: 0/1 -0, 0, 0, 4, 691200, 0xef6c0f3d +0, 0, 0, 5, 691200, 0xef6c0f3d 0, 5, 5, 2, 691200, 0xc18b32de 0, 7, 7, 2, 691200, 0x2395a3d7 0, 9, 9, 2, 691200, 0x81dc3cf2 |