projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15f7f4a
)
Another better error.
author
Carl Hetherington
<cth@carlh.net>
Mon, 13 Feb 2017 20:33:14 +0000
(20:33 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 13 Feb 2017 20:33:14 +0000
(20:33 +0000)
src/dcp.cc
patch
|
blob
|
history
diff --git
a/src/dcp.cc
b/src/dcp.cc
index 884e3cb5944f1f63786e9cd55d68cd0ee03543a9..b633c4998b68ec135889cb0a88e3862be3a00a35 100644
(file)
--- a/
src/dcp.cc
+++ b/
src/dcp.cc
@@
-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)));