mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-02 13:23:51 +02:00
Write out compressor name as Pascal-style string, bump patch
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user