Add get_process_id()
[dcpomatic.git] / src / lib / util.h
index 28a6fd6608bb39215da29496a1a198b9c60f655b..548dd0475ff5f790fae8ea322755f4adb9da07dd 100644 (file)
@@ -62,9 +62,9 @@ namespace dcp {
 /** 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
+#define MAX_CLOSED_CAPTION_LINES 3
+/** Maximum line length of closed caption viewers, according to SMPTE Bv2.1 */
+#define MAX_CLOSED_CAPTION_LENGTH 32
 
 extern std::string program_name;
 extern bool is_batch_converter;