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.
@@ -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.resetTransform();
23524
+ context.imageSmoothingQuality = "high";
23524
23525
  if (!canvasIsNew) {
23525
23526
  if (!this._alpha && isFirefox()) {
23526
23527
  context.fillStyle = "black";