summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-02-22 10:12:17 +0000
committerCarl Hetherington <cth@carlh.net>2018-07-31 23:06:13 +0100
commit7f648ce0bd2178c46894e144be98539d986f952d (patch)
treebc6ac98d5868419e398a6331eb3edf8a00c310be /src
parent0a47e4c639c5dbdbec5172ef0366e6f02428f74f (diff)
Read Atmos assets into other_assets.videocon
Diffstat (limited to 'src')
-rw-r--r--src/dcp.cc4
1 files changed, 4 insertions, 0 deletions
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<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()));
}