summaryrefslogtreecommitdiff
path: root/src/reel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-05-25 15:08:21 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-25 15:08:21 +0100
commite4ed001fff70bd10b94e61bf36cdffd1a679286d (patch)
tree9147de6473246ed175814d4c2cfc3176fe2ba436 /src/reel.h
parent216555fd5145ce4668d1a02337ed87edef64367b (diff)
Basic writing of DCPs containing Atmos MXFs; untested.
Diffstat (limited to 'src/reel.h')
-rw-r--r--src/reel.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/reel.h b/src/reel.h
index 8d7546fa..14ebaeb0 100644
--- a/src/reel.h
+++ b/src/reel.h
@@ -42,6 +42,7 @@ class ReelAsset;
class ReelPictureAsset;
class ReelSoundAsset;
class ReelSubtitleAsset;
+class ReelAtmosAsset;
class Content;
/** @brief A reel within a DCP; the part which actually refers to picture, sound and subtitle data */
@@ -52,12 +53,14 @@ public:
Reel (
boost::shared_ptr<ReelPictureAsset> picture,
- boost::shared_ptr<ReelSoundAsset> sound,
- boost::shared_ptr<ReelSubtitleAsset> subtitle
+ boost::shared_ptr<ReelSoundAsset> sound = boost::shared_ptr<ReelSoundAsset> (),
+ boost::shared_ptr<ReelSubtitleAsset> subtitle = boost::shared_ptr<ReelSubtitleAsset> (),
+ boost::shared_ptr<ReelAtmosAsset> atmos = boost::shared_ptr<ReelAtmosAsset> ()
)
: _main_picture (picture)
, _main_sound (sound)
, _main_subtitle (subtitle)
+ , _atmos (atmos)
{}
Reel (boost::shared_ptr<const cxml::Node>);
@@ -74,6 +77,10 @@ public:
return _main_subtitle;
}
+ boost::shared_ptr<ReelAtmosAsset> atmos () const {
+ return _atmos;
+ }
+
int64_t duration () const;
void add (boost::shared_ptr<ReelAsset> asset);
@@ -92,6 +99,7 @@ private:
boost::shared_ptr<ReelPictureAsset> _main_picture;
boost::shared_ptr<ReelSoundAsset> _main_sound;
boost::shared_ptr<ReelSubtitleAsset> _main_subtitle;
+ boost::shared_ptr<ReelAtmosAsset> _atmos;
};
}