Skip to content

Commit 35b4086

Browse files
committed
fix(engine): drop two comments the names already carry
1 parent f65fca9 commit 35b4086

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎packages/engine/src/services/videoFrameInjector.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ export function createVideoFrameInjector(
217217
const updates: Array<{ videoId: string; dataUri: string; frameIndex: number }> = [];
218218
const restyleIds: string[] = [];
219219
const activeIds = new Set<string>();
220-
// A motion-blur sub-sample keeps the style injected at the output frame's time.
221220
const isBlurSubSample = heldVideoTime !== undefined && heldVideoTime !== time;
222221
if (activePayloads.size > 0) {
223222
const pendingReads: Array<Promise<{ videoId: string; dataUri: string; frameIndex: number }>> =
@@ -226,7 +225,6 @@ export function createVideoFrameInjector(
226225
activeIds.add(videoId);
227226
const lastFrameIndex = lastInjectedFrameByVideo.get(videoId);
228227
if (lastFrameIndex === payload.frameIndex) {
229-
// Same picture (held past the media's end, or a slower source), but its style may move.
230228
if (!isBlurSubSample) restyleIds.push(videoId);
231229
continue;
232230
}

0 commit comments

Comments
 (0)