summaryrefslogtreecommitdiff
path: root/src/asset_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/asset_factory.cc')
-rw-r--r--src/asset_factory.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/asset_factory.cc b/src/asset_factory.cc
index be4f6b49..9eb42c8b 100644
--- a/src/asset_factory.cc
+++ b/src/asset_factory.cc
@@ -61,7 +61,8 @@ dcp::asset_factory (boost::filesystem::path path, bool ignore_incorrect_picture_
*/
ASDCP::EssenceType_t type;
- auto const result = ASDCP::EssenceType(dcp::filesystem::fix_long_path(path).string().c_str(), type);
+ Kumu::FileReaderFactory factory;
+ auto const result = ASDCP::EssenceType(dcp::filesystem::fix_long_path(path).string().c_str(), type, factory);
if (!ASDCP_SUCCESS(result)) {
throw ReadError(String::compose("Could not find essence type (%1)", result.Message()), path.string());
}