diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-03-20 23:21:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-03-22 15:18:55 +0100 |
| commit | cb4759c178e3229796e8139f3f21a230532a7499 (patch) | |
| tree | 7f830bb20a41a24ec0bc85e1775569dbc98402aa /src/stereo_picture_asset.cc | |
| parent | d27d0f88a526cfe55e6018f9f32d54d5b61fc634 (diff) | |
Bump asdcplib to dcpomatic-2.13.0 branch.v1.9.4
Diffstat (limited to 'src/stereo_picture_asset.cc')
| -rw-r--r-- | src/stereo_picture_asset.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/stereo_picture_asset.cc b/src/stereo_picture_asset.cc index 2ce3cdc9..687d8572 100644 --- a/src/stereo_picture_asset.cc +++ b/src/stereo_picture_asset.cc @@ -59,7 +59,8 @@ using namespace dcp; StereoPictureAsset::StereoPictureAsset (boost::filesystem::path file) : PictureAsset (file) { - ASDCP::JP2K::MXFSReader reader; + Kumu::FileReaderFactory factory; + ASDCP::JP2K::MXFSReader reader(factory); auto r = reader.OpenRead(dcp::filesystem::fix_long_path(file).string().c_str()); if (ASDCP_FAILURE(r)) { boost::throw_exception (MXFFileError("could not open MXF file for reading", file.string(), r)); @@ -105,14 +106,15 @@ StereoPictureAsset::start_read () const bool StereoPictureAsset::equals(shared_ptr<const Asset> other, EqualityOptions const& opt, NoteHandler note) const { - ASDCP::JP2K::MXFSReader reader_A; + Kumu::FileReaderFactory factory; + ASDCP::JP2K::MXFSReader reader_A(factory); DCP_ASSERT (file()); auto r = reader_A.OpenRead(dcp::filesystem::fix_long_path(*file()).string().c_str()); if (ASDCP_FAILURE (r)) { boost::throw_exception (MXFFileError ("could not open MXF file for reading", file()->string(), r)); } - ASDCP::JP2K::MXFSReader reader_B; + ASDCP::JP2K::MXFSReader reader_B(factory); DCP_ASSERT (other->file()); r = reader_B.OpenRead(dcp::filesystem::fix_long_path(*other->file()).string().c_str()); if (ASDCP_FAILURE (r)) { |
