From: Steve Lhomme Date: Sun, 13 Mar 2022 09:07:48 +0000 (+0100) Subject: KaxSemantic.cpp: make Video\Colour elements mandatory X-Git-Tag: release-1.7.0~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=86d7aa147d21e832e91c753f4a0dfba4ace8f74c;p=libmatroska KaxSemantic.cpp: make Video\Colour elements mandatory See https://github.com/ietf-wg-cellar/matroska-specification/commit/37b176e9fd11a201fcaa0223348adea78f2115d2 --- diff --git a/src/KaxSemantic.cpp b/src/KaxSemantic.cpp index 69cf140..0b57ae4 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)