summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-22 10:46:29 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-22 10:46:29 +0100
commit47cf5aaf482913cd7a4476bcc873e8beee03660d (patch)
tree7b9592a965688a701a135433c4f307c5be78f3d9
parentc5256bc4aad29f7b448339791ca33be79b81f631 (diff)
Improve error.
-rw-r--r--src/mxf.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mxf.cc b/src/mxf.cc
index 6709af4c..2de3fb4a 100644
--- a/src/mxf.cc
+++ b/src/mxf.cc
@@ -114,9 +114,11 @@ MXF::equals (shared_ptr<const Asset> other, EqualityOptions opt, boost::function
}
if (_file != other_mxf->file ()) {
- note (DCP_ERROR, "MXF: names differ");
if (!opt.mxf_names_can_differ) {
+ note (DCP_ERROR, "MXF: names differ");
return false;
+ } else {
+ note (DCP_NOTE, "MXF: names differ");
}
}