]> 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 <slhomme@matroska.org>
Sun, 13 Mar 2022 09:25:30 +0000 (10:25 +0100)
See https://github.com/ietf-wg-cellar/matroska-specification/commit/c98127cb523138c81be35c348f4dee70c3aa4c9e

src/KaxSemantic.cpp

index 061d99af19282f6bf1a6f4a36cf61b6817cb2e50..44f992fd075dd2d18b5f514b019c0da87bf8ee86 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)