summaryrefslogtreecommitdiff
path: root/src/dcp.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-02-29 01:00:02 +0000
committerCarl Hetherington <cth@carlh.net>2016-02-29 01:00:02 +0000
commit45841f333f295200ec461607f85d64e7b1e99249 (patch)
tree21a3b246d9b677cbf57ca0ee3e7c33e8318fab59 /src/dcp.h
parent8f7a014e6d11c107b520ac3c869b1cc7bef1bbd0 (diff)
Add workaround for (apparently) incorrectly-labelled stereo MXFs.
Diffstat (limited to 'src/dcp.h')
-rw-r--r--src/dcp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dcp.h b/src/dcp.h
index a723cebe..05c2026b 100644
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -71,8 +71,11 @@ public:
/** 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 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);
+ void read (bool keep_going = false, ReadErrors* errors = 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.