diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/atmos_asset.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/atmos_asset.cc b/src/atmos_asset.cc index c4c88568..c31ac2d6 100644 --- 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 |
