summaryrefslogtreecommitdiff
path: root/src/verify.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-12-16 00:01:47 +0100
committerCarl Hetherington <cth@carlh.net>2022-12-16 10:30:26 +0100
commit70f08257122cabe3b25481e27efedfd4b79903a3 (patch)
tree8d0ca1d4a587fc2e29d24890d4b9009e4f1a4fa7 /src/verify.h
parent9fed36f5ce0531ab7dc541829d959f4e040034f3 (diff)
Verify that main picture active area is valid (even, and not too big) (#2392).v1.8.40
Diffstat (limited to 'src/verify.h')
-rw-r--r--src/verify.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/verify.h b/src/verify.h
index baa36138..c7c4b6c8 100644
--- a/src/verify.h
+++ b/src/verify.h
@@ -398,7 +398,12 @@ public:
/** Some <MainMarkers> asset has an <Duration> that should not be there */
UNEXPECTED_DURATION,
/** A <ContentKind> has been specified with either no scope or the SMPTE 429-7 scope, but which is not one of those allowed */
- INVALID_CONTENT_KIND
+ INVALID_CONTENT_KIND,
+ /** Either the width or height of a <MainPictureActiveArea> in a CPL is either not an even number, or bigger than the corresponding asset dimension.
+ * note contains details of what is wrong
+ * file contains the CPL filename
+ */
+ INVALID_MAIN_PICTURE_ACTIVE_AREA,
};
VerificationNote (Type type, Code code)