Add cue-boundary subtitle scheduler
Tim Falken authored 5 months ago
Subtitle overlay timing now wakes on the next cue boundary in addition to the media-frame sync loop, which improves precision for densely packed captions and keeps the active caption aligned when the playhead lands near a start or end boundary.
Also resyncs immediately on seeked and ratechange so pausing, jumping, or changing playback speed still snaps to the correct cached subtitle.