Copy track name in Conversion API

This commit is contained in:
Vanilagy
2025-08-24 11:15:08 +02:00
parent 652ca69417
commit 945df51944
+2
View File
@@ -811,6 +811,7 @@ export class Conversion {
this.output.addVideoTrack(videoSource, {
frameRate: trackOptions.frameRate,
languageCode: track.languageCode,
name: track.name ?? undefined,
rotation: needsRerender ? 0 : totalRotation, // Rerendering will bake the rotation into the output
});
this._addedCounts.video++;
@@ -980,6 +981,7 @@ export class Conversion {
this.output.addAudioTrack(audioSource, {
languageCode: track.languageCode,
name: track.name ?? undefined,
});
this._addedCounts.audio++;
this._totalTrackCount++;