projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fcc2d9
)
Fix a whole load of missing setup for AtmosAssets, most notably
author
Carl Hetherington
<cth@carlh.net>
Fri, 19 Jun 2020 11:10:45 +0000
(13:10 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 19 Jun 2020 11:15:34 +0000
(13:15 +0200)
the ID.
src/atmos_asset.cc
patch
|
blob
|
history
diff --git
a/src/atmos_asset.cc
b/src/atmos_asset.cc
index c4c885681c0638fc42bef33707e6095cec2d7681..c31ac2d65c8374fbfc5ea54c98ae577b6f199d2a 100644
(file)
--- a/
src/atmos_asset.cc
+++ b/
src/atmos_asset.cc
@@
-80,6
+80,13
@@
AtmosAsset::AtmosAsset (boost::filesystem::path file)
_atmos_id = id;
_atmos_version = desc.AtmosVersion;
+
+ ASDCP::WriterInfo info;
+ if (ASDCP_FAILURE (reader.FillWriterInfo (info))) {
+ boost::throw_exception (ReadError ("could not read audio MXF information"));
+ }
+
+ _id = read_writer_info (info);
}
string