fix(conversion): fixed using wrong timestamp when calculating lastCanvasEndTimestamp

This commit is contained in:
Yukiniro
2025-08-13 22:48:08 +08:00
parent 93cbe69abc
commit 0348eda8a9
+1 -1
View File
@@ -671,7 +671,7 @@ export class Conversion {
}
let adjustedSampleTimestamp = Math.max(timestamp - this._startTimestamp, 0);
lastCanvasEndTimestamp = timestamp + duration;
lastCanvasEndTimestamp = adjustedSampleTimestamp + duration;
if (frameRate !== undefined) {
// Logic for skipping/repeating frames when a frame rate is set