diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-02-13 20:33:14 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-02-13 20:33:14 +0000 |
| commit | ce32d6cd30b916acc30d19241168ad4e41be6bda (patch) | |
| tree | fceda38ca3ec7135e239f82f9ae6dec57dbedd5d /src | |
| parent | 15f7f4ab0f89e7881d1249dab00b716045bcdf42 (diff) | |
Another better error.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dcp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -224,7 +224,7 @@ DCP::read (bool keep_going, ReadErrors* errors, bool ignore_incorrect_picture_mx other_assets.push_back (shared_ptr<SMPTESubtitleAsset> (new SMPTESubtitleAsset (path))); break; default: - throw DCPReadError ("Unknown MXF essence type"); + throw DCPReadError (String::compose ("Unknown MXF essence type %1 in %2", int(type), path.string())); } } else if (boost::filesystem::extension (path) == ".ttf") { other_assets.push_back (shared_ptr<FontAsset> (new FontAsset (i->first, path))); |
