Bv2.1 7.2.3: Check that subtitle <StartTime> exists and is 0.
[libdcp.git] / src / verify.h
index 3b5dafac37e76cc3a552692e07f076badbf7ce42..2957654fc3a917a3043f9990d0193fe3f1cbcfb6 100644 (file)
@@ -65,11 +65,11 @@ public:
                /** The hash of a main picture asset does not agree with the PKL file.  file contains the picture asset filename. */
                PICTURE_HASH_INCORRECT,
                /** The hash of a main picture is different in the CPL and PKL */
-               PKL_CPL_PICTURE_HASHES_DISAGREE,
+               PKL_CPL_PICTURE_HASHES_DIFFER,
                /** The hash of a main sound asset does not agree with the PKL file.  file contains the sound asset filename. */
                SOUND_HASH_INCORRECT,
                /** The hash of a main sound is different in the CPL and PKL */
-               PKL_CPL_SOUND_HASHES_DISAGREE,
+               PKL_CPL_SOUND_HASHES_DIFFER,
                /** An assetmap's <Path> entry is empty */
                EMPTY_ASSET_PATH,
                /** A file mentioned in an asset map cannot be found */
@@ -106,6 +106,16 @@ public:
                CLOSED_CAPTION_XML_TOO_LARGE_IN_BYTES,
                /** Any timed text asset's total files is larger than 115MB [Bv2.1_7.2.1] */
                TIMED_TEXT_ASSET_TOO_LARGE_IN_BYTES,
+               /** The total size of all a timed text asset's fonts is larger than 10MB [Bv2.1_7.2.1] */
+               TIMED_TEXT_FONTS_TOO_LARGE_IN_BYTES,
+               /** Some SMPTE subtitle XML has no <Language> tag [Bv2.1_7.2.2] */
+               MISSING_SUBTITLE_LANGUAGE,
+               /** Not all subtitle assets specify the same <Language> tag [Bv2.1_7.2.2] */
+               SUBTITLE_LANGUAGES_DIFFER,
+               /** Some SMPTE subtitle XML has no <StartTime> tag [Bv2.1_7.2.3] */
+               MISSING_SUBTITLE_START_TIME,
+               /** Some SMPTE subtitle XML has a non-zero <StartTime> tag [Bv2.1_7.2.3] */
+               SUBTITLE_START_TIME_NON_ZERO,
        };
 
        VerificationNote (Type type, Code code)