Player: frame pacing uses time.Sleep with no drift correction #16

Open
opened 2026-03-11 16:51:04 +00:00 by stu · 0 comments
Owner

Video frame timing relies on time.Sleep which is imprecise. Cumulative timing errors accumulate with no correction mechanism, causing frames to fall behind over time.

Fix: implement adaptive timing with drift correction.

Ref: docs/PLAYER_PERFORMANCE_ISSUES.md
Cycle: backlog

Video frame timing relies on time.Sleep which is imprecise. Cumulative timing errors accumulate with no correction mechanism, causing frames to fall behind over time. Fix: implement adaptive timing with drift correction. Ref: docs/PLAYER_PERFORMANCE_ISSUES.md Cycle: backlog
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
leak_technologies/VideoTools#16
No description provided.