diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-02-14 16:43:59 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-02-14 16:43:59 +0000 |
| commit | adb4f8a5014c3888f3322d1765fb0ee52b1d3169 (patch) | |
| tree | b8b06de0a2138d42efa44fa537a51492328d630a /tools | |
| parent | b8ae635ba057c68eb1d883e62df353f73def3c57 (diff) | |
Extract KDM standard.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/dcpkdm.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/dcpkdm.cc b/tools/dcpkdm.cc index 197397cb..1e35803f 100644 --- a/tools/dcpkdm.cc +++ b/tools/dcpkdm.cc @@ -102,11 +102,12 @@ main (int argc, char* argv[]) cout << "\nKeys"; BOOST_FOREACH (dcp::DecryptedKDMKey i, dec_kdm.keys ()) { cout << "\n"; - cout << "\tID: " << i.id() << "\n"; + cout << "\tID: " << i.id() << "\n"; + cout << "\tStandard: " << (i.standard() == dcp::SMPTE ? "SMPTE" : "Interop") << "\n"; if (i.type()) { - cout << "\tType: " << i.type().get() << "\n"; + cout << "\tType: " << i.type().get() << "\n"; } - cout << "\tKey: " << i.key().hex() << "\n"; + cout << "\tKey: " << i.key().hex() << "\n"; } } catch (dcp::KDMDecryptionError& e) { cerr << e.what() << "\n"; |
