"CueRelativePosition"-element might point to "BlockGroup"-element

This commit is contained in:
Martchus 2015-05-06 22:13:08 +02:00
parent acee20f2a8
commit a4c08f20c2
1 changed files with 2 additions and 1 deletions

View File

@ -173,9 +173,10 @@ void MatroskaContainer::validateIndex()
switch(referenceElement.id()) {
case MatroskaIds::SimpleBlock:
case MatroskaIds::Block:
case MatroskaIds::BlockGroup:
break;
default:
addNotification(NotificationType::Critical, "\"CueRelativePosition\" element does not point to \"Block\"-element (points to " + numberToString(referenceElement.startOffset()) + ").", context);
addNotification(NotificationType::Critical, "\"CueRelativePosition\" element does not point to \"Block\"-, \"BlockGroup\", or \"SimpleBlock\"-element (points to " + numberToString(referenceElement.startOffset()) + ").", context);
}
} catch(Failure &) {
addNotifications(context, referenceElement);