More leniancy in comparions.
authorCarl Hetherington <cth@carlh.net>
Sat, 13 Jul 2013 16:31:16 +0000 (17:31 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 13 Jul 2013 16:31:16 +0000 (17:31 +0100)
src/asset.cc

index c566a1e56b22d147da78eea129475fccad9c9187..fb21580e32651ce4be73e5b3947dd68cb8d3367e 100644 (file)
@@ -98,18 +98,16 @@ bool
 Asset::equals (shared_ptr<const Asset> other, EqualityOptions, boost::function<void (NoteType, string)> note) const
 {
        if (_edit_rate != other->_edit_rate) {
-               note (ERROR, "MXF edit rates differ");
+               note (ERROR, "asset edit rates differ");
                return false;
        }
        
        if (_intrinsic_duration != other->_intrinsic_duration) {
-               note (ERROR, "MXF intrinsic durations differ");
-               return false;
+               note (ERROR, "asset intrinsic durations differ");
        }
 
        if (_duration != other->_duration) {
-               note (ERROR, "MXF durations differ");
-               return false;
+               note (ERROR, "asset durations differ");
        }
 
        return true;