From 4843bf7b6820fe9f027699cf30c41804e714fbac Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 27 Jul 2018 15:19:30 +0100 Subject: Check for long CCAP lines and too many CCAP lines. --- src/lib/util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/lib/util.h') 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; -- cgit v1.2.3