mediabunny 1.52.1 → 1.52.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 +2 -1
- package/dist/bundles/mediabunny.min.cjs +1 -1
- package/dist/bundles/mediabunny.min.mjs +1 -1
- package/dist/bundles/mediabunny.mjs +2 -1
- package/dist/bundles/mediabunny.node.cjs +2 -1
- package/dist/modules/src/media-sink.js +1 -1
- package/dist/modules/src/sample.d.ts.map +1 -1
- package/dist/modules/src/sample.js +1 -0
- package/dist/modules/src/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/media-sink.ts +1 -1
- package/src/sample.ts +2 -0
|
@@ -20265,6 +20265,7 @@ var Mediabunny = (() => {
|
|
|
20265
20265
|
"The '2d' canvas context is required to transform VideoSamples. Register a custom transformer using registerVideoSampleTransformer to work around this limitation."
|
|
20266
20266
|
);
|
|
20267
20267
|
}
|
|
20268
|
+
context.imageSmoothingQuality = "high";
|
|
20268
20269
|
if (description.alpha === "discard") {
|
|
20269
20270
|
context.fillStyle = "black";
|
|
20270
20271
|
context.fillRect(0, 0, description.width, description.height);
|
|
@@ -23520,7 +23521,7 @@ var Mediabunny = (() => {
|
|
|
23520
23521
|
// Firefox has VideoFrame glitches with opaque canvases
|
|
23521
23522
|
});
|
|
23522
23523
|
assert(context);
|
|
23523
|
-
context.
|
|
23524
|
+
context.imageSmoothingQuality = "high";
|
|
23524
23525
|
if (!canvasIsNew) {
|
|
23525
23526
|
if (!this._alpha && isFirefox()) {
|
|
23526
23527
|
context.fillStyle = "black";
|