mediabunny 1.11.0 → 1.11.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 +4 -2
- package/dist/bundles/mediabunny.min.cjs +3 -3
- package/dist/bundles/mediabunny.min.mjs +3 -3
- package/dist/bundles/mediabunny.mjs +4 -2
- package/dist/modules/src/conversion.d.ts +31 -31
- package/dist/modules/src/conversion.d.ts.map +1 -1
- package/dist/modules/src/conversion.js +5 -3
- package/dist/modules/src/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/conversion.ts +42 -40
|
@@ -18220,7 +18220,8 @@ ${cue.notes ?? ""}`;
|
|
|
18220
18220
|
}
|
|
18221
18221
|
this.output.addVideoTrack(videoSource, {
|
|
18222
18222
|
frameRate: trackOptions.frameRate,
|
|
18223
|
-
|
|
18223
|
+
// TEMP: This condition can be removed when all demuxers properly homogenize to BCP47 in v2
|
|
18224
|
+
languageCode: isIso639Dash2LanguageCode(track.languageCode) ? track.languageCode : void 0,
|
|
18224
18225
|
name: track.name ?? void 0,
|
|
18225
18226
|
rotation: needsRerender ? 0 : totalRotation
|
|
18226
18227
|
// Rerendering will bake the rotation into the output
|
|
@@ -18339,7 +18340,8 @@ ${cue.notes ?? ""}`;
|
|
|
18339
18340
|
}
|
|
18340
18341
|
}
|
|
18341
18342
|
this.output.addAudioTrack(audioSource, {
|
|
18342
|
-
|
|
18343
|
+
// TEMP: This condition can be removed when all demuxers properly homogenize to BCP47 in v2
|
|
18344
|
+
languageCode: isIso639Dash2LanguageCode(track.languageCode) ? track.languageCode : void 0,
|
|
18343
18345
|
name: track.name ?? void 0
|
|
18344
18346
|
});
|
|
18345
18347
|
this._addedCounts.audio++;
|