summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dcp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index 884e3cb5..b633c499 100644
--- 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)));