summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-01-20 00:33:57 +0100
committerCarl Hetherington <cth@carlh.net>2025-01-20 20:36:46 +0100
commit0dc671756f9a6b0213b4273a8933c8f57483c424 (patch)
treecce42f60e414a6764211973c8fecd7bc37e599f8 /src/lib/dcp_content.cc
parent8850569d93a8524625b3b595cb6edf45bdf6de07 (diff)
Remove the strange tolerant flag in Film.
Instead, we now pass it in directly to Content::examine() and the Player.
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 ae2a08c29..32b97b06f 100644
--- a/src/lib/dcp_content.cc
+++ b/src/lib/dcp_content.cc
@@ -608,8 +608,8 @@ DCPContent::reels (shared_ptr<const Film> film) const
if (reel_lengths.empty()) {
/* Old metadata with no reel lengths; get them here instead */
try {
- scoped_ptr<DCPExaminer> examiner (new DCPExaminer(shared_from_this(), film->tolerant()));
- reel_lengths = examiner->reel_lengths ();
+ DCPExaminer examiner(shared_from_this(), true);
+ reel_lengths = examiner.reel_lengths();
} catch (...) {
/* Could not examine the DCP; guess reels */
reel_lengths.push_back (length_after_trim(film).frames_round(film->video_frame_rate()));