summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-21 02:10:35 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-21 02:12:34 +0200
commit736745c86cefc6d5d4d8098799efc86f0f639061 (patch)
tree2796958388113a6567eab368ee261fc745fbb781 /src/lib/dcp_content.h
parentf525fad0c38e198f35055e639184fa983a3d5d56 (diff)
Allow DCPContent to recover and serialise marker positions.
Diffstat (limited to 'src/lib/dcp_content.h')
-rw-r--r--src/lib/dcp_content.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h
index fb8d91781..b9c4d9ee5 100644
--- a/src/lib/dcp_content.h
+++ b/src/lib/dcp_content.h
@@ -150,6 +150,10 @@ public:
return _standard.get ();
}
+ std::map<dcp::Marker, dcpomatic::ContentTime> markers () const {
+ return _markers;
+ }
+
bool kdm_timing_window_valid () const;
private:
@@ -198,6 +202,7 @@ private:
boost::optional<std::string> _cpl;
/** List of the lengths of the reels in this DCP */
std::list<int64_t> _reel_lengths;
+ std::map<dcp::Marker, dcpomatic::ContentTime> _markers;
};
#endif