summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-12-14 12:41:01 +0000
committerCarl Hetherington <cth@carlh.net>2016-12-14 12:41:01 +0000
commit9f034b0e2b39c2c56b767371af90deb888d8779f (patch)
treecf84779fd6b377e97aafadddb1927223a3126e38 /src/lib/dcp_content.h
parentc0811d5fdd337682a396be566d7a3399f722cec9 (diff)
Store reel lengths in DCPContent to speed up e.g. timeline with many DCPs.
Diffstat (limited to 'src/lib/dcp_content.h')
-rw-r--r--src/lib/dcp_content.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h
index 1212b8b0f..ae8efa65e 100644
--- a/src/lib/dcp_content.h
+++ b/src/lib/dcp_content.h
@@ -168,6 +168,8 @@ private:
* just use the only CPL.
*/
boost::optional<std::string> _cpl;
+ /** List of the lengths of the reels in this DCP */
+ std::list<int64_t> _reel_lengths;
};
#endif