From 82d3db851257dbd460cff1c7eed2640a39b8ebfe Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 8 Mar 2020 22:47:33 +0100 Subject: Add verification checks too see if reel assets' Duration or IntrinsicDuration are too small. --- src/verify.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/verify.h') diff --git a/src/verify.h b/src/verify.h index ab9e9aac..c56cfb9d 100644 --- a/src/verify.h +++ b/src/verify.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2018 Carl Hetherington + Copyright (C) 2018-2020 Carl Hetherington This file is part of libdcp. @@ -77,6 +77,10 @@ public: MISMATCHED_STANDARD, /** Some XML fails to validate against the XSD/DTD */ XML_VALIDATION_ERROR, + /** An asset's IntrinsicDuration is less than 1 second */ + INTRINSIC_DURATION_TOO_SMALL, + /** An asset's Duration is less than 1 second */ + DURATION_TOO_SMALL }; VerificationNote (Type type, Code code) -- cgit v1.2.3