diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-27 15:19:30 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-27 15:19:30 +0100 |
| commit | 4843bf7b6820fe9f027699cf30c41804e714fbac (patch) | |
| tree | 443970dc9b7a865b4b8130ba5115d28f00ad8b54 /src/lib/util.h | |
| parent | c8b10d5eac6006b62d2a7add9da0c6206b72899b (diff) | |
Check for long CCAP lines and too many CCAP lines.
Diffstat (limited to 'src/lib/util.h')
| -rw-r--r-- | src/lib/util.h | 4 |
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; |
