From: Steve Lhomme Date: Sun, 13 Mar 2022 09:10:00 +0000 (+0100) Subject: KaxSemantic.cpp: make KaxVideoDisplayUnit elements mandatory X-Git-Tag: release-1.7.0~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f0c90128e37575a0862c71aa5f9665a54f737b8;p=libmatroska KaxSemantic.cpp: make KaxVideoDisplayUnit elements mandatory See https://github.com/ietf-wg-cellar/matroska-specification/commit/22d23716f2ba61234449d5c5de509ecc14b37f76 --- diff --git a/src/KaxSemantic.cpp b/src/KaxSemantic.cpp index 0b57ae4..9e0f425 100644 --- a/src/KaxSemantic.cpp +++ b/src/KaxSemantic.cpp @@ -332,7 +332,7 @@ DEFINE_SEMANTIC_ITEM(true, true, KaxVideoPixelCropLeft) DEFINE_SEMANTIC_ITEM(true, true, KaxVideoPixelCropRight) DEFINE_SEMANTIC_ITEM(false, true, KaxVideoDisplayWidth) DEFINE_SEMANTIC_ITEM(false, true, KaxVideoDisplayHeight) -DEFINE_SEMANTIC_ITEM(false, true, KaxVideoDisplayUnit) +DEFINE_SEMANTIC_ITEM(true, true, KaxVideoDisplayUnit) DEFINE_SEMANTIC_ITEM(false, true, KaxVideoAspectRatio) // not supported DEFINE_SEMANTIC_ITEM(false, true, KaxVideoColourSpace) DEFINE_SEMANTIC_ITEM(false, true, KaxVideoGamma) // not supported