diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-05-09 16:32:54 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-13 11:07:46 +0100 |
| commit | cb0a41355327f0308e5b56c21bff1d1ac004a9cb (patch) | |
| tree | 6b9a62ebf3f5074ebf18b1af8f0c42d7a1ac8978 /src/tools | |
| parent | 19a4388397813392d11dce07e4453c9b798b8bdb (diff) | |
ECinema 'KDM' tweaks.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic_ecinema.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_ecinema.cc b/src/tools/dcpomatic_ecinema.cc index 76305d12d..bcd090726 100644 --- a/src/tools/dcpomatic_ecinema.cc +++ b/src/tools/dcpomatic_ecinema.cc @@ -180,5 +180,7 @@ main (int argc, char* argv[]) avformat_free_context (input_fc); avformat_free_context (output_fc); - DecryptedECinemaKDM kdm (key); + DecryptedECinemaKDM decrypted_kdm (key); + EncryptedECinemaKDM encrypted_kdm = decrypted_kdm.encrypt (Config::instance()->decryption_chain()); + cout << encrypted_kdm.as_xml() << "\n"; } |
