mirror of
https://github.com/mpv-player/mpv.git
synced 2026-06-06 20:10:30 +00:00
Use floor(pts * 1000 + 1e-6) instead of llrint() for all timestamp conversions to avoid floating-point precision errors causing early subtitle presentation on boundry frames. Fixes: #17453 Signed-off-by: Ricardo Fonseca <ricardofonseca94321@tecnico.ulisboa.pt>