From dcdf44bcc45f74c17ffa4314b042b3e4efcad7e6 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Sun, 13 Mar 2022 10:07:48 +0100 Subject: [PATCH] KaxSemantic.cpp: make Video\Colour elements mandatory See https://github.com/ietf-wg-cellar/matroska-specification/commit/37b176e9fd11a201fcaa0223348adea78f2115d2 --- src/KaxSemantic.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/KaxSemantic.cpp b/src/KaxSemantic.cpp index e2bd875..1a62d81 100644 --- a/src/KaxSemantic.cpp +++ b/src/KaxSemantic.cpp @@ -362,7 +362,7 @@ DEFINE_MKX_FLOAT(KaxVideoGamma, 0x2FB523, 3, KaxTrackVideo, "VideoGamma") DEFINE_MKX_FLOAT(KaxVideoFrameRate, 0x2383E3, 3, KaxTrackVideo, "VideoFrameRate") DEFINE_START_SEMANTIC(KaxVideoColour) -DEFINE_SEMANTIC_ITEM(false, true, KaxVideoColourMatrix) +DEFINE_SEMANTIC_ITEM(true, true, KaxVideoColourMatrix) DEFINE_SEMANTIC_ITEM(true, true, KaxVideoBitsPerChannel) DEFINE_SEMANTIC_ITEM(false, true, KaxVideoChromaSubsampHorz) DEFINE_SEMANTIC_ITEM(false, true, KaxVideoChromaSubsampVert) @@ -371,8 +371,8 @@ DEFINE_SEMANTIC_ITEM(false, true, KaxVideoCbSubsampVert) DEFINE_SEMANTIC_ITEM(true, true, KaxVideoChromaSitHorz) DEFINE_SEMANTIC_ITEM(true, true, KaxVideoChromaSitVert) DEFINE_SEMANTIC_ITEM(true, true, KaxVideoColourRange) -DEFINE_SEMANTIC_ITEM(false, true, KaxVideoColourTransferCharacter) -DEFINE_SEMANTIC_ITEM(false, true, KaxVideoColourPrimaries) +DEFINE_SEMANTIC_ITEM(true, true, KaxVideoColourTransferCharacter) +DEFINE_SEMANTIC_ITEM(true, true, KaxVideoColourPrimaries) DEFINE_SEMANTIC_ITEM(false, true, KaxVideoColourMaxCLL) DEFINE_SEMANTIC_ITEM(false, true, KaxVideoColourMaxFALL) DEFINE_SEMANTIC_ITEM(false, true, KaxVideoColourMasterMeta) -- 2.50.1