From 9fc6bcde891567ca04fe2d9835ab48a17c9b69a7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 7 Jan 2015 16:33:22 +0000 Subject: Rename mxf filename ignoring stuff slightly. --- src/mxf.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mxf.cc') diff --git a/src/mxf.cc b/src/mxf.cc index 442eb696..5c99e01f 100644 --- a/src/mxf.cc +++ b/src/mxf.cc @@ -114,12 +114,12 @@ MXF::equals (shared_ptr other, EqualityOptions opt, NoteHandler not return false; } - if (_file != other_mxf->file ()) { - if (!opt.mxf_names_can_differ) { - note (DCP_ERROR, "MXF: names differ"); + if (_file.leaf() != other_mxf->file().leaf()) { + if (!opt.mxf_filenames_can_differ) { + note (DCP_ERROR, "MXF: filenames differ"); return false; } else { - note (DCP_NOTE, "MXF: names differ"); + note (DCP_NOTE, "MXF: filenames differ"); } } -- cgit v1.2.3