diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-04 14:12:53 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-04 14:12:53 +0000 |
| commit | b6833317988e4e9dbe5e4b427033af7979fffedd (patch) | |
| tree | 03888f7af59d315922683e8a59650bad64deb87f /src/exceptions.cc | |
| parent | aa632b458fc2aa5ff1ca2e2702dcf589ae627d7d (diff) | |
Move DCP -> Package with a token DCP class.
Diffstat (limited to 'src/exceptions.cc')
| -rw-r--r-- | src/exceptions.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exceptions.cc b/src/exceptions.cc index ed6edaa4..b100e4de 100644 --- a/src/exceptions.cc +++ b/src/exceptions.cc @@ -49,7 +49,7 @@ TimeFormatError::TimeFormatError (string bad_time) } MissingAssetError::MissingAssetError (boost::filesystem::path path, AssetType type) - : DCPReadError ( + : PackageReadError ( type == MAIN_PICTURE ? String::compose ("Missing asset %1 for main picture", path.string()) : (type == MAIN_SOUND ? String::compose ("Missing asset %1 for main sound", path.string()) : (type == MAIN_SUBTITLE ? String::compose ("Missing asset %1 for main subtitle", path.string()) : |
