summaryrefslogtreecommitdiff
path: root/src/lib/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-06 19:55:07 +0100
committerCarl Hetherington <cth@carlh.net>2020-12-06 19:55:07 +0100
commit504e234f92de578a8d1214d6a73c790a896f0a90 (patch)
tree01ce885560776c7918e0acd75a85b95a981d9792 /src/lib/util.h
parenta842e3bb5c9900ee14c02d8fcf0f614f32783b4b (diff)
Add some hints for violations of SMPTE Bv2.1 with subtitles and closed
captions.
Diffstat (limited to 'src/lib/util.h')
-rw-r--r--src/lib/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util.h b/src/lib/util.h
index 91ce4b443..548dd0475 100644
--- a/src/lib/util.h
+++ b/src/lib/util.h
@@ -62,9 +62,9 @@ namespace dcp {
/** Largest KDM size (in bytes) that will be accepted */
#define MAX_KDM_SIZE (256 * 1024)
/** Number of lines that closed caption viewers will display */
-#define CLOSED_CAPTION_LINES 3
+#define MAX_CLOSED_CAPTION_LINES 3
/** Maximum line length of closed caption viewers, according to SMPTE Bv2.1 */
-#define CLOSED_CAPTION_LENGTH 32
+#define MAX_CLOSED_CAPTION_LENGTH 32
extern std::string program_name;
extern bool is_batch_converter;