Write out compressor name as Pascal-style string, bump patch

This commit is contained in:
Vanilagy
2026-07-31 00:06:07 +02:00
parent 6be47af6aa
commit f177be15cf
9 changed files with 19 additions and 18 deletions
+2 -1
View File
@@ -720,8 +720,9 @@ export const videoSampleDescription = (
u16(1), // Frame count
// Compressor name
u8('Mediabunny'.length), // Weird Pascal-style string
ascii('Mediabunny'),
Array(32 - 'Mediabunny'.length).fill(0),
Array(31 - 'Mediabunny'.length).fill(0),
u16(trackData.info.hasAlphaChannel ? 32 : 24), // Depth
i16(0xffff), // Pre-defined