summaryrefslogtreecommitdiff
path: root/src/lib/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-27 15:19:30 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-27 15:19:30 +0100
commit4843bf7b6820fe9f027699cf30c41804e714fbac (patch)
tree443970dc9b7a865b4b8130ba5115d28f00ad8b54 /src/lib/util.h
parentc8b10d5eac6006b62d2a7add9da0c6206b72899b (diff)
Check for long CCAP lines and too many CCAP lines.
Diffstat (limited to 'src/lib/util.h')
-rw-r--r--src/lib/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/util.h b/src/lib/util.h
index 5ca198ebb..d6fddcdda 100644
--- a/src/lib/util.h
+++ b/src/lib/util.h
@@ -57,6 +57,10 @@ namespace dcp {
#define TEXT_FONT_ID "font"
/** 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
+/** Maximum line length of closed caption viewers */
+#define CLOSED_CAPTION_LENGTH 30
extern std::string program_name;
extern bool is_batch_converter;