From 47cf5aaf482913cd7a4476bcc873e8beee03660d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 22 Jul 2014 10:46:29 +0100 Subject: Improve error. --- src/mxf.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 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"); } } -- cgit v1.2.3