Bump CLOSED_CAPTION_LENGTH to 32 as per SMPTE Bv2.1.
authorCarl Hetherington <cth@carlh.net>
Fri, 4 Dec 2020 22:18:25 +0000 (23:18 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 4 Dec 2020 22:18:25 +0000 (23:18 +0100)
src/lib/util.h

index 28a6fd6608bb39215da29496a1a198b9c60f655b..91ce4b443aa202bc01ba1ebe2089552541a21a26 100644 (file)
@@ -63,8 +63,8 @@ namespace dcp {
 #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
+/** Maximum line length of closed caption viewers, according to SMPTE Bv2.1 */
+#define CLOSED_CAPTION_LENGTH 32
 
 extern std::string program_name;
 extern bool is_batch_converter;