summaryrefslogtreecommitdiff
path: root/src/verify.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-12-06 10:47:04 +0100
committerCarl Hetherington <cth@carlh.net>2019-12-22 01:21:00 +0100
commit30dfa051113792305f9704d5a76ffaf57c21063d (patch)
tree4a4055b40bfb64ebf5b7509ef81a104db4a52e46 /src/verify.h
parent9cb23adda9ebe6a76992b68db78ccb638348dac1 (diff)
Use VerificationNote for non-fatal errors in DCP::read.
Diffstat (limited to 'src/verify.h')
-rw-r--r--src/verify.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/verify.h b/src/verify.h
index 4b967d1d..e219c6ec 100644
--- a/src/verify.h
+++ b/src/verify.h
@@ -69,6 +69,12 @@ public:
SOUND_HASH_INCORRECT,
/** The hash of a main sound is different in the CPL and PKL */
PKL_CPL_SOUND_HASHES_DISAGREE,
+ /** An assetmap's <Path> entry is empty */
+ EMPTY_ASSET_PATH,
+ /** An file mentioned in an assetmap cannot be found */
+ MISSING_ASSET,
+ /** The DCP contains both SMPTE and Interop-standard components */
+ MISMATCHED_STANDARD,
};
VerificationNote (Type type, Code code)
@@ -117,6 +123,8 @@ std::list<VerificationNote> verify (
boost::function<void (float)> progress
);
+std::string note_to_string (dcp::VerificationNote note);
+
}
#endif