Improve subtitle clock precision and prewarming
Tim Falken authored 5 months ago
Image subtitle overlay timing now prefers the video renderer media clock when available, which improves boundary accuracy for cached captions that previously appeared late or were missed.
Also adds proactive secondary-buffer prewarming with the next cached frame so rapid caption transitions have the next image ready before the swap point, reducing visible misses on dense subtitle sequences.
Includes a regression test that verifies media-time based sync behaviour.