From: Steve Lhomme Date: Sun, 13 Mar 2022 08:56:10 +0000 (+0100) Subject: KaxSemantic.cpp: make TrackLanguage elements mandatory X-Git-Tag: release-1.7.0~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f872de85ae6d9ba90b3c41d9be84f83b8cec8f0;p=libmatroska KaxSemantic.cpp: make TrackLanguage elements mandatory See https://github.com/ietf-wg-cellar/matroska-specification/commit/c98127cb523138c81be35c348f4dee70c3aa4c9e --- diff --git a/src/KaxSemantic.cpp b/src/KaxSemantic.cpp index 1f57a5c..3b3c545 100644 --- a/src/KaxSemantic.cpp +++ b/src/KaxSemantic.cpp @@ -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)