You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: playing_seek_between_keyframes too tight after #1766 (media time runs ahead while decoding) #1774
#1766 replaced playing_seek_between_keyframes' fixed 500 ms upper bound with "target + elapsed wall time + two frames". That bound is too tight on fast runners: a playing source's reported media time runs ahead of the frame it shows because it decodes ahead.
playing seek to 4500 ms: first frame 135, media time 4666 ms, 97 ms after the seek
playing seek: seek to 4500 ms reports a media time of 4666 ms
The allowed maximum there was 4500 + 97 + 66 = 4663 ms. The seek is right (frame 135 is the target); the time is 166 ms past the target after 97 ms. Locally it runs 66 ms ahead after 40 ms.
Fix: allow both: target + elapsed + the old 500 ms decode-ahead allowance. Our regression from #1766.
Activity
rdoupe commentedon Oct 22, 2026
Claiming: #1774. Fix ready (test-only); PR follows.
test: Allow for decode-ahead in the playing-seek media time bound (ob…