]> granicus.if.org Git - libmatroska/commitdiff
KaxSemantic.cpp: make TrackLanguage elements mandatory
authorSteve Lhomme <slhomme@matroska.org>
Sun, 13 Mar 2022 08:56:10 +0000 (09:56 +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/c98127cb523138c81be35c348f4dee70c3aa4c9e

src/KaxSemantic.cpp

index 1f57a5c990d4a3bfa4b3160fcd705faf33cdfbfe..3b3c5452bbdb39a2a431bfbe44999507927bfc90 100644 (file)
@@ -234,7 +234,7 @@ DEFINE_SEMANTIC_ITEM(false, true, KaxTrackOffset) // not supported
 DEFINE_SEMANTIC_ITEM(true, true, KaxMaxBlockAdditionID)
 DEFINE_SEMANTIC_ITEM(false, false, KaxBlockAdditionMapping)
 DEFINE_SEMANTIC_ITEM(false, true, KaxTrackName)
-DEFINE_SEMANTIC_ITEM(false, true, KaxTrackLanguage)
+DEFINE_SEMANTIC_ITEM(true, true, KaxTrackLanguage)
 DEFINE_SEMANTIC_ITEM(false, true, KaxLanguageIETF)
 DEFINE_SEMANTIC_ITEM(true, true, KaxCodecID)
 DEFINE_SEMANTIC_ITEM(false, true, KaxCodecPrivate)