diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-16 17:03:35 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-16 19:53:17 +0100 |
commit | 7b32856011d1859a974b884f76bd17b7a7fdab76 (patch) | |
tree | 13ead5e61c3d1efa8edac3f18ef3f1a92301da40 /tests | |
parent | 261e8ccbd1e38c0af719b97ed3fb1720bb733e09 (diff) | |
download | ffmpeg-7b32856011d1859a974b884f76bd17b7a7fdab76.tar.gz |
ffmpeg: Maintain higher precision pts between video filter and fps code
This is a bit ugly as it attempts to keep most of the computation
in integers before the double based fps code. The use of integers
is to reduce the chances of rounding differences between platforms
Previously the timestamp was rounded to the encoder timebase
before being converted back to double precision which could cause loss
of precision
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ref/fate/filter-setpts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ref/fate/filter-setpts b/tests/ref/fate/filter-setpts index c1ce1d3d1e..5b1d73446f 100644 --- a/tests/ref/fate/filter-setpts +++ b/tests/ref/fate/filter-setpts @@ -7,27 +7,27 @@ 0, 5, 5, 1, 152064, 0xedb5a8e6 0, 6, 6, 1, 152064, 0x5ab58bac 0, 7, 7, 1, 152064, 0x1f1b8026 -0, 8, 8, 1, 152064, 0x02344760 +0, 8, 8, 1, 152064, 0x91373915 0, 9, 9, 1, 152064, 0x30f5fcd5 0, 10, 10, 1, 152064, 0xc711ad61 0, 11, 11, 1, 152064, 0x52a48ddd 0, 12, 12, 1, 152064, 0xa91c0f05 -0, 13, 13, 1, 152064, 0xb15d38c8 +0, 13, 13, 1, 152064, 0x8e364e18 0, 14, 14, 1, 152064, 0xf25f6acc 0, 15, 15, 1, 152064, 0xf34ddbff 0, 16, 16, 1, 152064, 0x9dc72412 0, 17, 17, 1, 152064, 0x445d1d59 -0, 18, 18, 1, 152064, 0xce09f9d6 +0, 18, 18, 1, 152064, 0x2f2768ef 0, 19, 19, 1, 152064, 0x95579936 0, 20, 20, 1, 152064, 0x43d796b5 0, 21, 21, 1, 152064, 0x76d2a455 0, 22, 22, 1, 152064, 0x6dc3650e -0, 23, 23, 1, 152064, 0xe295c51e +0, 23, 23, 1, 152064, 0x0f9d6aca 0, 24, 24, 1, 152064, 0xd766fc8d 0, 25, 25, 1, 152064, 0xe22f7a30 0, 26, 26, 1, 152064, 0xfa8d94fb 0, 27, 27, 1, 152064, 0x4c9737ab -0, 28, 28, 1, 152064, 0x0b07594c +0, 28, 28, 1, 152064, 0xa50d01f8 0, 29, 29, 1, 152064, 0x88734edd 0, 30, 30, 1, 152064, 0xd2735925 0, 31, 31, 1, 152064, 0x20cebfa9 |