From: Steve Lhomme Date: Sun, 13 Mar 2022 08:56:10 +0000 (+0100) Subject: KaxSemantic.cpp: make TrackLanguage elements mandatory X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea075ef3b475fb912016c3e9a7fbba95519b47e8;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 061d99a..44f992f 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)