mediabunny 1.4.1 → 1.4.2
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 +6 -3
- package/dist/bundles/mediabunny.min.cjs +1 -1
- package/dist/bundles/mediabunny.min.mjs +1 -1
- package/dist/bundles/mediabunny.mjs +6 -3
- package/dist/modules/sample.d.ts.map +1 -1
- package/dist/modules/sample.js +3 -0
- package/package.json +1 -1
- package/src/sample.ts +3 -0
|
@@ -7491,7 +7491,8 @@ ${cue.notes ?? ""}`;
|
|
|
7491
7491
|
if (isVideoFrame(this._data)) {
|
|
7492
7492
|
return new _VideoSample(this._data.clone(), {
|
|
7493
7493
|
timestamp: this.timestamp,
|
|
7494
|
-
duration: this.duration
|
|
7494
|
+
duration: this.duration,
|
|
7495
|
+
rotation: this.rotation
|
|
7495
7496
|
});
|
|
7496
7497
|
} else if (this._data instanceof Uint8Array) {
|
|
7497
7498
|
return new _VideoSample(this._data.slice(), {
|
|
@@ -7500,7 +7501,8 @@ ${cue.notes ?? ""}`;
|
|
|
7500
7501
|
codedHeight: this.codedHeight,
|
|
7501
7502
|
timestamp: this.timestamp,
|
|
7502
7503
|
duration: this.duration,
|
|
7503
|
-
colorSpace: this.colorSpace
|
|
7504
|
+
colorSpace: this.colorSpace,
|
|
7505
|
+
rotation: this.rotation
|
|
7504
7506
|
});
|
|
7505
7507
|
} else {
|
|
7506
7508
|
return new _VideoSample(this._data, {
|
|
@@ -7509,7 +7511,8 @@ ${cue.notes ?? ""}`;
|
|
|
7509
7511
|
codedHeight: this.codedHeight,
|
|
7510
7512
|
timestamp: this.timestamp,
|
|
7511
7513
|
duration: this.duration,
|
|
7512
|
-
colorSpace: this.colorSpace
|
|
7514
|
+
colorSpace: this.colorSpace,
|
|
7515
|
+
rotation: this.rotation
|
|
7513
7516
|
});
|
|
7514
7517
|
}
|
|
7515
7518
|
}
|