summaryrefslogtreecommitdiff
path: root/src/verify.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-12 17:47:23 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-17 20:13:23 +0100
commitdde186a4c30f066c4bea7bb120ceb130f83faf90 (patch)
tree51ec9aec1d9885c8ef17ec241d1e506ce2a632a0 /src/verify.h
parent9df315a026b7c30ee416a090c583e01f65b86d03 (diff)
Bv2.1 7.2.{4,5}: check that subtitles are not too short, too close or
too early in the first reel.
Diffstat (limited to 'src/verify.h')
-rw-r--r--src/verify.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/verify.h b/src/verify.h
index 88113730..526b767a 100644
--- a/src/verify.h
+++ b/src/verify.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2018-2020 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2018-2021 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
@@ -117,6 +117,10 @@ public:
SUBTITLE_START_TIME_NON_ZERO,
/** The first subtitle or closed caption happens before 4s into the first reel [Bv2.1_7.2.4] */
FIRST_TEXT_TOO_EARLY,
+ /** At least one subtitle is less than the minimum of 15 frames suggested by [Bv2.1_7.2.5] */
+ SUBTITLE_TOO_SHORT,
+ /** At least one pair of subtitles are separated by less than the the minimum of 2 frames suggested by [Bv2.1_7.2.5] */
+ SUBTITLE_TOO_CLOSE,
};
VerificationNote (Type type, Code code)