X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Futil.h;h=d6fddcddafb7eac2b79422a49d1769da96260539;hb=a8f7f04a68b3bdf3df1975541323166bf472a6cd;hp=5ca198ebbcc8f61b46a4ebb6bb2cc5678cf6cb1b;hpb=918124fb0b2fdf05bf98aee2c74c85387f1d8638;p=dcpomatic.git 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;