From 7f648ce0bd2178c46894e144be98539d986f952d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 22 Feb 2018 10:12:17 +0000 Subject: Read Atmos assets into other_assets. --- src/dcp.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/dcp.cc b/src/dcp.cc index c0fe70f6..fc02fe9d 100644 --- a/src/dcp.cc +++ b/src/dcp.cc @@ -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 (new SMPTESubtitleAsset (path))); break; + case ASDCP::ESS_DCDATA_DOLBY_ATMOS: + other_assets.push_back (shared_ptr (new AtmosAsset (path))); + break; default: throw DCPReadError (String::compose ("Unknown MXF essence type %1 in %2", int(type), path.string())); } -- cgit v1.2.3