]> granicus.if.org Git - libmatroska/commitdiff
KaxSemantic.cpp: make KaxChapters allowed multiple times
authorSteve Lhomme <slhomme@matroska.org>
Sun, 18 Sep 2022 05:02:20 +0000 (07:02 +0200)
committerSteve Lhomme <robux4@ycbcr.xyz>
Sun, 18 Sep 2022 11:59:59 +0000 (13:59 +0200)
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

src/KaxSemantic.cpp

index ef9bb00d6c955721300fdd9a15b56dbf62ba5a8b..1fef714a2f7da39341547f5ded1497ec5ac412ca 100644 (file)
@@ -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)