]> granicus.if.org Git - libmatroska/commitdiff
KaxSemantic.cpp: make Video\Colour elements mandatory
authorSteve Lhomme <slhomme@matroska.org>
Sun, 13 Mar 2022 09:07:48 +0000 (10:07 +0100)
committerSteve Lhomme <slhomme@matroska.org>
Sun, 13 Mar 2022 09:25:31 +0000 (10:25 +0100)
See https://github.com/ietf-wg-cellar/matroska-specification/commit/37b176e9fd11a201fcaa0223348adea78f2115d2

src/KaxSemantic.cpp

index e2bd875dd4fd67b181e7573e3285e66ee42c1851..1a62d810bc4e743505f8cfc52359f575d4aed514 100644 (file)
@@ -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)