fix: separate -map_metadata and -map_chapters options from their values in x265 transcoding
Build / Lint & Test (push) Successful in 14s

This commit is contained in:
PickleRick committed 2026-09-19 22:47:24 +02:00
1 parent ee5fc99820
commit 0c8b713325
2 files changed
+4 -2

No files matched your search

+2
View File
@@ -200,6 +200,8 @@ const AUDIO_INPUTS = {
ok(transcodeCode.includes('bitrateKbps < copyHevcBelowKbps'), 'HEVC copy requires bitrate strictly below the limit');
ok(transcodeCode.includes("copyHevcBelowKbps || '3000'"), 'HEVC copy limit defaults to 3000 kbps');
ok(transcodeCode.includes("'-c:v', 'copy'"), 'compatible HEVC video uses stream copy');
ok(!transcodeCode.includes("'-map_metadata -1'"), 'pass 1 separates -map_metadata from its value');
ok(!transcodeCode.includes("'-map_chapters -1'"), 'pass 1 separates -map_chapters from its value');
// ── Summary ───────────────────────────────────────────────────────────────
console.log(`\n${'='.repeat(55)}`);