From 7cc85a6cda9787796b3d191251c0653b6df67ceb Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 15 Mar 2019 22:46:00 +0000 Subject: Finish initial CPL markers support. --- src/reel.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/reel.h') diff --git a/src/reel.h b/src/reel.h index fa37c840..0a3cf19a 100644 --- a/src/reel.h +++ b/src/reel.h @@ -56,11 +56,12 @@ class ReelAsset; class ReelPictureAsset; class ReelSoundAsset; class ReelSubtitleAsset; +class ReelMarkersAsset; class ReelClosedCaptionAsset; class ReelAtmosAsset; class Content; -/** @brief A reel within a DCP; the part which actually refers to picture, sound and subtitle data */ +/** @brief A reel within a DCP; the part which actually refers to picture, sound, subtitle, marker and Atmos data */ class Reel : public Object { public: @@ -70,11 +71,13 @@ public: boost::shared_ptr picture, boost::shared_ptr sound = boost::shared_ptr (), boost::shared_ptr subtitle = boost::shared_ptr (), + boost::shared_ptr markers = boost::shared_ptr (), boost::shared_ptr atmos = boost::shared_ptr () ) : _main_picture (picture) , _main_sound (sound) , _main_subtitle (subtitle) + , _main_markers (markers) , _atmos (atmos) {} @@ -92,6 +95,10 @@ public: return _main_subtitle; } + boost::shared_ptr main_markers () const { + return _main_markers; + } + std::list > closed_captions () const { return _closed_captions; } @@ -118,6 +125,7 @@ private: boost::shared_ptr _main_picture; boost::shared_ptr _main_sound; boost::shared_ptr _main_subtitle; + boost::shared_ptr _main_markers; std::list > _closed_captions; boost::shared_ptr _atmos; }; -- cgit v1.2.3