diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-22 09:46:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-22 09:46:32 +0100 |
| commit | c5256bc4aad29f7b448339791ca33be79b81f631 (patch) | |
| tree | 227ec7d3edff51233ec187318277fcd8223ee254 /src | |
| parent | 595d4fbfee788edfad7f9f8dfe7e76ee634c1a94 (diff) | |
Improve a couple of errors.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dcp.cc | 2 | ||||
| -rw-r--r-- | src/reel_asset.cc | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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; } |
