Fix incorrectly-written video rotation metadata even when rotation is baked into the video (fixes #329)

This commit is contained in:
Vanilagy
2026-03-19 14:25:40 +01:00
parent e693765d23
commit 0d50526ff6
5 changed files with 55 additions and 4 deletions
+2 -2
View File
@@ -1086,6 +1086,8 @@ export class Conversion {
}
if (needsRerender) {
outputTrackRotation = 0; // Since the rotation is baked into the output
this._trackPromises.push((async () => {
await this._started;
@@ -1101,8 +1103,6 @@ export class Conversion {
const iterator = sink.canvases(this._startTimestamp, this._endTimestamp);
const frameRate = trackOptions.frameRate;
outputTrackRotation = 0; // Since the rotation is baked into the output
let lastCanvas: HTMLCanvasElement | OffscreenCanvas | null = null;
let lastCanvasTimestamp: number | null = null;
let lastCanvasEndTimestamp: number | null = null;