summaryrefslogtreecommitdiff
path: root/src/verify.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-03-24 01:28:16 +0100
committerCarl Hetherington <cth@carlh.net>2022-03-24 13:27:31 +0100
commit56fcbad9cac0972d4895ac03d935471da8673e0c (patch)
treeec3cfbce807ddc1fea5c20769c077d0145ef932e /src/verify.h
parentbc6ef3ae7644c256e2339366e5aa14c4fa4bbee4 (diff)
Add verify test to check for erroneous <EntryPoint> and <Duration>v1.8.132215-markers
tags inside <MainMarkers>
Diffstat (limited to 'src/verify.h')
-rw-r--r--src/verify.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/verify.h b/src/verify.h
index 424b29e7..3dd7d125 100644
--- a/src/verify.h
+++ b/src/verify.h
@@ -82,6 +82,7 @@ public:
* - MISMATCHED: two things, which should be the same, are not.
* - EMPTY: something, which should have a value, has no value.
* - MISSING: something, which should be present, is not.
+ * - UNEXPECTED: something, which is present, should not be.
* - FAILED: some part of the verification failed in some serious way.
*
* Comments should clarify meaning and also say which of the optional fields (e.g. file)
@@ -392,6 +393,10 @@ public:
MISMATCHED_CLOSED_CAPTION_VALIGN,
/** Some closed captions are not listed in the XML in the order of their vertical position */
INCORRECT_CLOSED_CAPTION_ORDERING,
+ /** Some <MainMarkers> asset has an <EntryPoint> that should not be there */
+ UNEXPECTED_ENTRY_POINT,
+ /** Some <MainMarkers> asset has an <Duration> that should not be there */
+ UNEXPECTED_DURATION
};
VerificationNote (Type type, Code code)