diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-19 10:18:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-12-19 10:19:05 +0100 |
| commit | 8f20282208b6074048516bc80bc79f22a82d6e5a (patch) | |
| tree | f8c4018be270a39cd639e0c58d0e9bc6e16f8029 /src/asset_factory.cc | |
| parent | e0f8983a07f7b082e065549c05f9a98d8a052362 (diff) | |
Add newly-required reader factories.
Diffstat (limited to 'src/asset_factory.cc')
| -rw-r--r-- | src/asset_factory.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/asset_factory.cc b/src/asset_factory.cc index 833d3d2b..fb1eb73d 100644 --- a/src/asset_factory.cc +++ b/src/asset_factory.cc @@ -60,8 +60,10 @@ dcp::asset_factory (boost::filesystem::path path, bool ignore_incorrect_picture_ (Interop / SMPTE) */ + Kumu::FileReaderFactory factory; + ASDCP::EssenceType_t type; - if (ASDCP::EssenceType (path.string().c_str(), type) != ASDCP::RESULT_OK) { + if (ASDCP::EssenceType(path.string().c_str(), type, factory) != ASDCP::RESULT_OK) { throw ReadError("Could not find essence type", path.string()); } switch (type) { |
