Skip to content

Commit 26fe0f6

Browse files
committed
fix(core): shorten a comment in the clock
1 parent 2c0e2fd commit 26fe0f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/core/src/runtime/clock.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export class TransportClock {
9595
const spec = rate ?? 1;
9696
const time = timeAtSourceTime(spec, el.currentTime - mediaStart) + compositionStart;
9797
if (time >= this._lastNow) return time;
98-
// Only a starved element holds the playhead (a lag it can steer out is not a reason to stop); a wrapped loop is not behind.
98+
// Only a starved element holds the playhead; a lag steering can close is not a reason to stop.
9999
const wrapped = el.loop && this._lastNow - time > timeAtSourceTime(spec, el.duration) / 2;
100100
return !wrapped && el.readyState < HAVE_FUTURE_DATA ? this._lastNow : null;
101101
}

0 commit comments

Comments
 (0)