diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-21 02:10:35 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-21 02:12:34 +0200 |
| commit | 736745c86cefc6d5d4d8098799efc86f0f639061 (patch) | |
| tree | 2796958388113a6567eab368ee261fc745fbb781 /src/lib/dcp_examiner.h | |
| parent | f525fad0c38e198f35055e639184fa983a3d5d56 (diff) | |
Allow DCPContent to recover and serialise marker positions.
Diffstat (limited to 'src/lib/dcp_examiner.h')
| -rw-r--r-- | src/lib/dcp_examiner.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/dcp_examiner.h b/src/lib/dcp_examiner.h index e52234e36..c1ba54dee 100644 --- a/src/lib/dcp_examiner.h +++ b/src/lib/dcp_examiner.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014-2019 Carl Hetherington <cth@carlh.net> + Copyright (C) 2014-2020 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -25,6 +25,7 @@ #include "video_examiner.h" #include "audio_examiner.h" #include "dcp.h" +#include <dcp/dcp_time.h> class DCPContent; @@ -118,6 +119,10 @@ public: return _reel_lengths; } + std::map<dcp::Marker, dcp::Time> markers () const { + return _markers; + } + private: boost::optional<double> _video_frame_rate; boost::optional<dcp::Size> _video_size; @@ -140,4 +145,5 @@ private: dcp::ContentKind _content_kind; std::string _cpl; std::list<int64_t> _reel_lengths; + std::map<dcp::Marker, dcp::Time> _markers; }; |
