projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87f5322
)
Fix DCP playback when an incorrect KDM is added, followed by
author
Carl Hetherington
<cth@carlh.net>
Wed, 20 May 2020 19:55:13 +0000
(21:55 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 20 May 2020 19:55:13 +0000
(21:55 +0200)
a correct one.
src/lib/dcp_decoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/dcp_decoder.cc
b/src/lib/dcp_decoder.cc
index 19831185d16203834393335716420998b4a64e84..ab724cd6c75bbb7a5f02326e15b92f3a964a0322 100644
(file)
--- a/
src/lib/dcp_decoder.cc
+++ b/
src/lib/dcp_decoder.cc
@@
-451,7
+451,9
@@
DCPDecoder::calculate_lazy_digest (shared_ptr<const DCPContent> c) const
BOOST_FOREACH (boost::filesystem::path i, c->paths()) {
d.add (i.string());
}
- d.add (static_cast<bool>(_dcp_content->kdm()));
+ if (_dcp_content->kdm()) {
+ d.add(_dcp_content->kdm()->id());
+ }
d.add (static_cast<bool>(c->cpl()));
if (c->cpl()) {
d.add (c->cpl().get());