summaryrefslogtreecommitdiff
path: root/src/dcp.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/dcp.h
parent9cb23adda9ebe6a76992b68db78ccb638348dac1 (diff)
Use VerificationNote for non-fatal errors in DCP::read.
Diffstat (limited to 'src/dcp.h')
-rw-r--r--src/dcp.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/dcp.h b/src/dcp.h
index b47daf55..34611fb7 100644
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -43,6 +43,7 @@
#include "certificate.h"
#include "metadata.h"
#include "name_format.h"
+#include "verify.h"
#include <boost/shared_ptr.hpp>
#include <boost/signals2.hpp>
#include <string>
@@ -83,16 +84,13 @@ public:
*/
explicit DCP (boost::filesystem::path directory);
- typedef std::list<boost::shared_ptr<DCPReadError> > ReadErrors;
-
/** Read the DCP's structure into this object.
- * @param keep_going true to try to keep going in the face of (some) errors.
- * @param errors List of errors that will be added to if keep_going is true.
+ * @param notes List of notes that will be added to if non-0.
* @param ignore_incorrect_picture_mxf_type true to try loading MXF files marked as monoscopic
* as stereoscopic if the monoscopic load fails; fixes problems some 3D DCPs that (I think)
* have an incorrect descriptor in their MXF.
*/
- void read (bool keep_going = false, ReadErrors* errors = 0, bool ignore_incorrect_picture_mxf_type = false);
+ void read (std::list<VerificationNote>* notes = 0, bool ignore_incorrect_picture_mxf_type = false);
/** Compare this DCP with another, according to various options.
* @param other DCP to compare this one to.