projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check content for changes on loading a project.
[dcpomatic.git]
/
src
/
lib
/
util.h
diff --git
a/src/lib/util.h
b/src/lib/util.h
index 53a0a2d6674317cfbb1f4a61d0ec9a4e193fe864..d6fddcddafb7eac2b79422a49d1769da96260539 100644
(file)
--- 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)
#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 std::string program_name;
+extern bool is_batch_converter;
struct AVSubtitle;
class AudioBuffers;
struct AVSubtitle;
class AudioBuffers;