From 945df51944f3f31b52980b83765ae07815aca0f2 Mon Sep 17 00:00:00 2001 From: Vanilagy <1696106+Vanilagy@users.noreply.github.com> Date: Sun, 24 Aug 2025 11:15:08 +0200 Subject: [PATCH] Copy track name in Conversion API --- src/conversion.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/conversion.ts b/src/conversion.ts index 8075e9f..733b578 100644 --- a/src/conversion.ts +++ b/src/conversion.ts @@ -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++;