summaryrefslogtreecommitdiff
path: root/src/lib/dcp_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-10-20 21:22:17 +0200
committerCarl Hetherington <cth@carlh.net>2026-02-03 21:37:04 +0100
commiteda0b0b0ffecf2d6d67407303a1bd45659ccdfce (patch)
treec57cda863071ca7af8de20ac9bce128b45d93289 /src/lib/dcp_decoder.cc
parent9b841fddd3aa4a1117b03299bce964c5e4b205d9 (diff)
Replace find_and_resolve_cpls() with storing all CPL IDs in DCPContent (sometimes).
In some places we need other details than the ID, but in lots of places this saves some disk searching.
Diffstat (limited to 'src/lib/dcp_decoder.cc')
-rw-r--r--src/lib/dcp_decoder.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/dcp_decoder.cc b/src/lib/dcp_decoder.cc
index 42119a041..4809d772a 100644
--- a/src/lib/dcp_decoder.cc
+++ b/src/lib/dcp_decoder.cc
@@ -101,6 +101,10 @@ DCPDecoder::DCPDecoder(shared_ptr<const Film> film, shared_ptr<const DCPContent>
We do this by storing a digest of the important bits of the DCPContent and then checking that's
the same before we re-use _reels.
+
+ XXX: this seems a bit dubious - why is a complete re-examine not necessary in this case?
+ Or why is this done for DCPs only, and not other files that might change?
+ (see blame for the comment above for some reasons)
*/
_lazy_digest = calculate_lazy_digest(content);