summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-22 09:46:32 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-22 09:46:32 +0100
commitc5256bc4aad29f7b448339791ca33be79b81f631 (patch)
tree227ec7d3edff51233ec187318277fcd8223ee254 /src
parent595d4fbfee788edfad7f9f8dfe7e76ee634c1a94 (diff)
Improve a couple of errors.
Diffstat (limited to 'src')
-rw-r--r--src/dcp.cc2
-rw-r--r--src/reel_asset.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index ca1c23d9..397bdac0 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -94,7 +94,7 @@ DCP::read (bool keep_going, ReadErrors* errors)
} else if (boost::filesystem::exists (_directory / "ASSETMAP.xml")) {
asset_map_file = _directory / "ASSETMAP.xml";
} else {
- boost::throw_exception (DCPReadError (String::compose ("could not find AssetMap file `%1'", asset_map_file.string())));
+ boost::throw_exception (DCPReadError (String::compose ("could not find AssetMap file in `%1'", _directory.string())));
}
cxml::Document asset_map ("AssetMap");
diff --git a/src/reel_asset.cc b/src/reel_asset.cc
index 978f1dee..31422173 100644
--- a/src/reel_asset.cc
+++ b/src/reel_asset.cc
@@ -115,7 +115,7 @@ ReelAsset::equals (shared_ptr<const ReelAsset> other, EqualityOptions opt, boost
}
if (_intrinsic_duration != other->_intrinsic_duration) {
- note (DCP_ERROR, "Reel: intrinsic durations differ");
+ note (DCP_ERROR, String::compose ("Reel: intrinsic durations differ (%1 vs %2)", _intrinsic_duration, other->_intrinsic_duration));
return false;
}