mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 12:54:29 +00:00
When outPoint exceeds composition duration, rawLoopEnd > dur makes the time >= loopEnd branch unreachable after the playhead clamp — the player ticks forever. Clamp rawLoopEnd to dur in both forward and backward RAF loops, matching the seek() clamping. Add test for the boundary behavior. Trim blank lines to satisfy 600-line filesize gate.