summaryrefslogtreecommitdiff
path: root/src/mxf.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-22 00:49:15 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-22 00:49:15 +0100
commit595d4fbfee788edfad7f9f8dfe7e76ee634c1a94 (patch)
treea4a3f440c20cd1460eb823bcfb34d1503b39c4f7 /src/mxf.cc
parent81daf10958b05fc0d617d421617da33ab45f2f4c (diff)
Various attempts to clean up DCP comparison code.
Diffstat (limited to 'src/mxf.cc')
-rw-r--r--src/mxf.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mxf.cc b/src/mxf.cc
index f4d4a490..6709af4c 100644
--- a/src/mxf.cc
+++ b/src/mxf.cc
@@ -100,22 +100,21 @@ MXF::equals (shared_ptr<const Asset> other, EqualityOptions opt, boost::function
shared_ptr<const MXF> other_mxf = dynamic_pointer_cast<const MXF> (other);
if (!other_mxf) {
- note (DCP_ERROR, "comparing an MXF asset with a non-MXF asset");
return false;
}
if (_edit_rate != other_mxf->_edit_rate) {
- note (DCP_ERROR, "content edit rates differ");
+ note (DCP_ERROR, "MXF: edit rates differ");
return false;
}
if (_intrinsic_duration != other_mxf->_intrinsic_duration) {
- note (DCP_ERROR, "asset intrinsic durations differ");
+ note (DCP_ERROR, String::compose ("MXF: intrinsic durations differ (%1 vs %2)", _intrinsic_duration, other_mxf->_intrinsic_duration));
return false;
}
if (_file != other_mxf->file ()) {
- note (DCP_ERROR, "MXF names differ");
+ note (DCP_ERROR, "MXF: names differ");
if (!opt.mxf_names_can_differ) {
return false;
}