diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-12-14 12:41:01 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-12-14 12:41:01 +0000 |
| commit | 9f034b0e2b39c2c56b767371af90deb888d8779f (patch) | |
| tree | cf84779fd6b377e97aafadddb1927223a3126e38 /src/lib/dcp_examiner.h | |
| parent | c0811d5fdd337682a396be566d7a3399f722cec9 (diff) | |
Store reel lengths in DCPContent to speed up e.g. timeline with many DCPs.
Diffstat (limited to 'src/lib/dcp_examiner.h')
| -rw-r--r-- | src/lib/dcp_examiner.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/dcp_examiner.h b/src/lib/dcp_examiner.h index 0558bfcfc..d9c372c3c 100644 --- a/src/lib/dcp_examiner.h +++ b/src/lib/dcp_examiner.h @@ -93,6 +93,10 @@ public: return _cpl; } + std::list<int64_t> reel_lengths () const { + return _reel_lengths; + } + private: boost::optional<double> _video_frame_rate; boost::optional<dcp::Size> _video_size; @@ -108,4 +112,5 @@ private: boost::optional<dcp::Standard> _standard; bool _three_d; std::string _cpl; + std::list<int64_t> _reel_lengths; }; |
