diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-02-22 10:12:17 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-02-22 10:12:17 +0000 |
| commit | a4a35da8ad26ba5bbd2064a5b694debccb467212 (patch) | |
| tree | cf27ad2886e1443daf5b9ef0a5d92a1bf8332cc9 | |
| parent | 5ec38e10bcf6fb6808690061969d0689cfa980ed (diff) | |
Read Atmos assets into other_assets.
| -rw-r--r-- | src/dcp.cc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -38,6 +38,7 @@ #include "raw_convert.h" #include "dcp.h" #include "sound_asset.h" +#include "atmos_asset.h" #include "picture_asset.h" #include "interop_subtitle_asset.h" #include "smpte_subtitle_asset.h" @@ -222,6 +223,9 @@ DCP::read (bool keep_going, ReadErrors* errors, bool ignore_incorrect_picture_mx case ASDCP::ESS_TIMED_TEXT: other_assets.push_back (shared_ptr<SMPTESubtitleAsset> (new SMPTESubtitleAsset (path))); break; + case ASDCP::ESS_DCDATA_DOLBY_ATMOS: + other_assets.push_back (shared_ptr<AtmosAsset> (new AtmosAsset (path))); + break; default: throw DCPReadError (String::compose ("Unknown MXF essence type %1 in %2", int(type), path.string())); } |
