From b7a29452dd502a6034ebe19ee50915dbd8b1117a Mon Sep 17 00:00:00 2001 From: Joey Ballentine Date: Mon, 26 Feb 2024 17:37:04 -0500 Subject: [PATCH 1/2] Fix incorrect id number on an old migration --- src/common/migrations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/migrations.ts b/src/common/migrations.ts index 4c96573a3..1ab73c806 100644 --- a/src/common/migrations.ts +++ b/src/common/migrations.ts @@ -1892,7 +1892,7 @@ const saveVideoInputPR2514: ModernMigration = (data) => { const format = formatMap[encoder ?? 'libx264']; const oldAudioSettings = oldData[10]; - const oldReducedAudioSettings = oldData[10]; + const oldReducedAudioSettings = oldData[11]; const audioSettings = format === 'webm' ? oldReducedAudioSettings : oldAudioSettings; const newData = { From 558d88a2f1986b750135a0799b9a4e21c6139bba Mon Sep 17 00:00:00 2001 From: Joey Ballentine Date: Mon, 26 Feb 2024 17:40:26 -0500 Subject: [PATCH 2/2] update snapshots --- tests/common/__snapshots__/SaveFile.test.ts.snap | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/common/__snapshots__/SaveFile.test.ts.snap b/tests/common/__snapshots__/SaveFile.test.ts.snap index 9417339d7..5c041be59 100644 --- a/tests/common/__snapshots__/SaveFile.test.ts.snap +++ b/tests/common/__snapshots__/SaveFile.test.ts.snap @@ -17213,7 +17213,7 @@ exports[`Read save file video-frame-iterator.chn 1`] = ` "inputData": { "0": undefined, "1": "A:\\tmp\\output", - "10": "transcode", + "10": "none", "12": 1, "13": "", "14": "", @@ -18262,7 +18262,7 @@ exports[`Read save file video-frame-iterator.chn 1`] = ` "inputData": { "0": undefined, "1": "A:\\tmp\\output", - "10": "copy", + "10": "auto", "12": 1, "13": "", "14": "", @@ -34604,7 +34604,7 @@ exports[`Write save file utilities.chn 1`] = ` exports[`Write save file video-frame-iterator.chn 1`] = ` { - "checksum": "ebd6a4da057f87c86a71d4d50d505c7a", + "checksum": "02eb8a975ea8fd26d410817cadbca098", "content": { "edges": [ { @@ -35455,7 +35455,7 @@ exports[`Write save file video-frame-iterator.chn 1`] = ` "id": "adedfe61-a1cb-566e-b8a5-ec421bc2810b", "inputData": { "1": "A:\\tmp\\output", - "10": "transcode", + "10": "none", "12": 1, "13": "", "14": "", @@ -36246,7 +36246,7 @@ exports[`Write save file video-frame-iterator.chn 1`] = ` "id": "c732f0df-ba9f-5c70-a8a8-ec1ad6914880", "inputData": { "1": "A:\\tmp\\output", - "10": "copy", + "10": "auto", "12": 1, "13": "", "14": "",