projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e353df8
)
Add some debugging for KDM generation from imported encrypted DCPs.
author
Carl Hetherington
<cth@carlh.net>
Mon, 13 Feb 2017 11:14:56 +0000
(11:14 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 13 Feb 2017 11:14:56 +0000
(11:14 +0000)
src/lib/film.cc
patch
|
blob
|
history
diff --git
a/src/lib/film.cc
b/src/lib/film.cc
index 79eb313ce44de451e37184094e92454e2b492085..2dcdf4eefbae6432f9553241da0a44a276d3fe5b 100644
(file)
--- a/
src/lib/film.cc
+++ b/
src/lib/film.cc
@@
-1260,6
+1260,7
@@
Film::make_kdm (
bool done = false;
BOOST_FOREACH (dcp::DecryptedKDMKey j, imported_keys) {
if (j.id() == mxf->key_id().get()) {
+ LOG_GENERAL ("Using imported key for %1", mxf->key_id().get());
keys[mxf] = j.key();
done = true;
}
@@
-1267,6
+1268,7
@@
Film::make_kdm (
if (!done) {
/* No imported key; it must be an asset that we encrypted */
+ LOG_GENERAL ("Using our own key for %1", mxf->key_id().get());
keys[mxf] = key();
}
}