mediabunny 1.50.0 → 1.50.1
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 +7 -2
- package/dist/bundles/mediabunny.min.cjs +6 -6
- package/dist/bundles/mediabunny.min.mjs +7 -7
- package/dist/bundles/mediabunny.mjs +7 -2
- package/dist/bundles/mediabunny.node.cjs +7 -2
- package/dist/modules/src/conversion.d.ts.map +1 -1
- package/dist/modules/src/conversion.js +3 -2
- package/dist/modules/src/media-source.d.ts.map +1 -1
- package/dist/modules/src/media-source.js +3 -1
- package/dist/modules/src/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/conversion.ts +6 -2
- package/src/media-source.ts +4 -0
|
@@ -33026,6 +33026,7 @@ ${cue.notes ?? ""}`;
|
|
|
33026
33026
|
if (!forceClose) {
|
|
33027
33027
|
await this.encoder.flush();
|
|
33028
33028
|
await this.alphaEncoder?.flush();
|
|
33029
|
+
await wait(25);
|
|
33029
33030
|
}
|
|
33030
33031
|
if (this.encoder.state !== "closed") {
|
|
33031
33032
|
this.encoder.close();
|
|
@@ -37403,9 +37404,13 @@ The @mediabunny/mp3-encoder extension package provides support for encoding MP3.
|
|
|
37403
37404
|
firstSample.close();
|
|
37404
37405
|
await tempOutput.finalize();
|
|
37405
37406
|
} catch (error) {
|
|
37406
|
-
Logging.
|
|
37407
|
-
|
|
37407
|
+
Logging._warn(
|
|
37408
|
+
"An error occurred when probing encoder support. Falling back to rerender path.",
|
|
37409
|
+
error
|
|
37410
|
+
);
|
|
37408
37411
|
void tempOutput.cancel();
|
|
37412
|
+
needsRerender = true;
|
|
37413
|
+
encodingConfig.transform.force = true;
|
|
37409
37414
|
}
|
|
37410
37415
|
} else {
|
|
37411
37416
|
await tempOutput.cancel();
|