From 4d150a24939ec60822fd35ab80b7302764b453b3 Mon Sep 17 00:00:00 2001 From: Jonny Burger Date: Thu, 9 Jan 2025 14:23:24 +0100 Subject: [PATCH] Update all-segments.ts --- .../media-parser/src/boxes/webm/segments/all-segments.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/media-parser/src/boxes/webm/segments/all-segments.ts b/packages/media-parser/src/boxes/webm/segments/all-segments.ts index 7cf28513bc..9adf00dfd6 100644 --- a/packages/media-parser/src/boxes/webm/segments/all-segments.ts +++ b/packages/media-parser/src/boxes/webm/segments/all-segments.ts @@ -532,6 +532,11 @@ export const displayHeight = { type: 'uint', } as const satisfies Ebml; +export const displayUnit = { + name: 'DisplayUnit', + type: 'uint', +} as const satisfies Ebml; + export const flagLacing = { name: 'FlagLacing', type: 'uint', @@ -893,6 +898,7 @@ export const ebmlMap = { [matroskaElements.BitDepth]: bitDepth, [matroskaElements.DisplayHeight]: displayHeight, [matroskaElements.DisplayWidth]: displayWidth, + [matroskaElements.DisplayUnit]: displayUnit, [matroskaElements.FlagLacing]: flagLacing, [matroskaElements.Tags]: tags, [matroskaElements.Tag]: tagSegment,