Add VERIFY_BV21_ERROR.
authorCarl Hetherington <cth@carlh.net>
Tue, 8 Dec 2020 22:42:13 +0000 (23:42 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 17 Jan 2021 19:13:22 +0000 (20:13 +0100)
src/verify.h
tools/dcpverify.cc

index 87d52d44913375bd2e198b84b3fe43521d1a6a65..4b4442e412f7ad11bbf509b549e205b118e9f5cd 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
        };
 
index c484516e54c5ebe8f42c63631eaf92ef9d33a2b8..c26fe7c4d0973e1500b9bd58a8dd81425878b720 100644 (file)
@@ -142,6 +142,9 @@ main (int argc, char* argv[])
                        cout << "Error: " << note_to_string(i) << "\n";
                        failed = true;
                        break;
+               case dcp::VerificationNote::VERIFY_BV21_ERROR:
+                       cout << "Bv2.1 error: " << note_to_string(i) << "\n";
+                       break;
                case dcp::VerificationNote::VERIFY_WARNING:
                        cout << "Warning: " << note_to_string(i) << "\n";
                        break;