Bv2.1 6.2.1: Check that closed caption reel and XML <Language> conform to RFC 5646.
[libdcp.git] / src / verify.h
index 4bd91f55b01fd290af19276bfc606ff7e0b3f405..8eb5aa12db88fb7b6cef3f3f7620c9495f3c13a0 100644 (file)
@@ -51,6 +51,7 @@ public:
        */
        enum Type {
                VERIFY_ERROR,
+               VERIFY_BV21_ERROR, ///< may not always be considered an error, but violates a "shall" requirement of Bv2.1
                VERIFY_WARNING
        };
 
@@ -71,7 +72,7 @@ public:
                PKL_CPL_SOUND_HASHES_DISAGREE,
                /** An assetmap's <Path> entry is empty */
                EMPTY_ASSET_PATH,
-               /** An file mentioned in an asset map cannot be found */
+               /** A file mentioned in an asset map cannot be found */
                MISSING_ASSET,
                /** The DCP contains both SMPTE and Interop-standard components */
                MISMATCHED_STANDARD,
@@ -87,6 +88,12 @@ public:
                PICTURE_FRAME_TOO_LARGE,
                /** The JPEG2000 data in at least one picture frame is larger than the equivalent of 230Mbit/s */
                PICTURE_FRAME_NEARLY_TOO_LARGE,
+               /** An asset that the CPL requires is not in this DCP; the DCP may be a VF */
+               EXTERNAL_ASSET,
+               /** DCP is Interop, not SMPTE [Bv2.1_6.1] */
+               NOT_SMPTE,
+               /** A language or territory does not conform to RFC 5646 [Bv2.1_6.2.1] */
+               BAD_LANGUAGE,
        };
 
        VerificationNote (Type type, Code code)