From: Steve Lhomme Date: Sun, 18 Sep 2022 05:02:20 +0000 (+0200) Subject: KaxSemantic.cpp: make KaxChapters allowed multiple times X-Git-Tag: release-1.7.0~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9d0014d691a861d05a615b6d86bcb335b486fc9;p=libmatroska KaxSemantic.cpp: make KaxChapters allowed multiple times It should be unique but it's a 'recurring' elements which might be copied multiple times in the same parent. See https://github.com/ietf-wg-cellar/matroska-specification/pull/438 --- diff --git a/src/KaxSemantic.cpp b/src/KaxSemantic.cpp index ef9bb00..1fef714 100644 --- a/src/KaxSemantic.cpp +++ b/src/KaxSemantic.cpp @@ -49,7 +49,7 @@ DEFINE_SEMANTIC_ITEM(false, false, KaxCluster) DEFINE_SEMANTIC_ITEM(false, false, KaxTracks) DEFINE_SEMANTIC_ITEM(false, true, KaxCues) DEFINE_SEMANTIC_ITEM(false, true, KaxAttachments) -DEFINE_SEMANTIC_ITEM(false, true, KaxChapters) +DEFINE_SEMANTIC_ITEM(false, false, KaxChapters) DEFINE_SEMANTIC_ITEM(false, false, KaxTags) DEFINE_END_SEMANTIC(KaxSegment)