]> 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, 11 Sep 2022 12:45:12 +0000 (14:45 +0200)
See https://github.com/ietf-wg-cellar/matroska-specification/commit/c98127cb523138c81be35c348f4dee70c3aa4c9e

src/KaxSemantic.cpp

index 96548dfc9d96f874df48d4940726aacde8aae277..6b456738539ecbb9af75e2b15bf1a61580568a23 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)