diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-02-22 10:12:17 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-31 23:06:13 +0100 |
| commit | 7f648ce0bd2178c46894e144be98539d986f952d (patch) | |
| tree | bc6ac98d5868419e398a6331eb3edf8a00c310be | |
| parent | 0a47e4c639c5dbdbec5172ef0366e6f02428f74f (diff) | |
Read Atmos assets into other_assets.videocon
| -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())); } |
