mediabunny 1.7.4 → 1.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundles/mediabunny.cjs +2 -2
- package/dist/bundles/mediabunny.min.cjs +3 -3
- package/dist/bundles/mediabunny.min.mjs +3 -3
- package/dist/bundles/mediabunny.mjs +2 -2
- package/dist/modules/src/conversion.js +2 -2
- package/dist/modules/src/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/conversion.ts +2 -2
|
@@ -17344,7 +17344,7 @@ ${cue.notes ?? ""}`;
|
|
|
17344
17344
|
return;
|
|
17345
17345
|
}
|
|
17346
17346
|
let adjustedSampleTimestamp = Math.max(timestamp - this._startTimestamp, 0);
|
|
17347
|
-
lastCanvasEndTimestamp =
|
|
17347
|
+
lastCanvasEndTimestamp = adjustedSampleTimestamp + duration;
|
|
17348
17348
|
if (frameRate !== void 0) {
|
|
17349
17349
|
const alignedTimestamp = Math.floor(adjustedSampleTimestamp * frameRate) / frameRate;
|
|
17350
17350
|
if (lastCanvas !== null) {
|
|
@@ -17406,7 +17406,7 @@ ${cue.notes ?? ""}`;
|
|
|
17406
17406
|
return;
|
|
17407
17407
|
}
|
|
17408
17408
|
let adjustedSampleTimestamp = Math.max(sample.timestamp - this._startTimestamp, 0);
|
|
17409
|
-
lastSampleEndTimestamp =
|
|
17409
|
+
lastSampleEndTimestamp = adjustedSampleTimestamp + sample.duration;
|
|
17410
17410
|
if (frameRate !== void 0) {
|
|
17411
17411
|
const alignedTimestamp = Math.floor(adjustedSampleTimestamp * frameRate) / frameRate;
|
|
17412
17412
|
if (lastSample !== null) {
|