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 /libavfilter/vf_showpalette.c | |
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 'libavfilter/vf_showpalette.c')
0 files changed, 0 insertions, 0 deletions