X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Futil.h;h=d6fddcddafb7eac2b79422a49d1769da96260539;hb=f968fb875135884b0551195edc2315d4be76d5bc;hp=53a0a2d6674317cfbb1f4a61d0ec9a4e193fe864;hpb=1aad2c33896ce6222f3c929c7af7fe4ff5fda0f2;p=dcpomatic.git diff --git a/src/lib/util.h b/src/lib/util.h index 53a0a2d66..d6fddcdda 100644 --- a/src/lib/util.h +++ b/src/lib/util.h @@ -57,8 +57,13 @@ 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; struct AVSubtitle; class AudioBuffers;