]> 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 <robux4@ycbcr.xyz>
Sun, 18 Sep 2022 11:59:59 +0000 (13:59 +0200)
See https://github.com/ietf-wg-cellar/matroska-specification/commit/37b176e9fd11a201fcaa0223348adea78f2115d2

src/KaxSemantic.cpp

index 69cf140af3b64471ce8d2ea31802956a8efd217e..0b57ae413d994de7d2b3d010b2f7fe3a9ca1a89c 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)