summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-19 19:59:48 +0100
committerCarl Hetherington <cth@carlh.net>2025-09-03 00:52:12 +0200
commit9f615589dc465c75ce776ba2c131445311ea7d74 (patch)
treeeaa68de88d5ad82cb0770fdd8c4c31896397a988 /src/lib/dcp_content.cc
parentd18408f2d89897d01d250238bcd5f4438b038948 (diff)
Use default ContentTime -> DCPTime conversion instead of .get().
Diffstat (limited to 'src/lib/dcp_content.cc')
-rw-r--r--src/lib/dcp_content.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc
index 5a4593ec2..3e50005b3 100644
--- a/src/lib/dcp_content.cc
+++ b/src/lib/dcp_content.cc
@@ -616,11 +616,11 @@ DCPContent::reels (shared_ptr<const Film> film) const
list<DCPTimePeriod> p;
/* This content's frame rate must be the same as the output DCP rate, so we can
- convert `directly' from ContentTime to DCPTime.
+ cheat and use a default FrameRateChange here.
*/
/* The starting point of this content on the timeline */
- auto pos = position() - DCPTime (trim_start().get());
+ auto pos = position() - DCPTime(trim_start(), {});
for (auto i: reel_lengths) {
/* This reel runs from `pos' to `to' */