diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-04 22:32:52 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-05 14:35:31 +0100 |
| commit | b7f478b7c5d2e53205dd77dee6955f6d7ac1ce5c (patch) | |
| tree | 55a2eb14998135c1d0bc93761dc66dc57fad2722 /src/mxf.cc | |
| parent | 29844b3efd68ee102686e0ae6a04a926c1dbbbd8 (diff) | |
Make read_writer_info do more stuff, and return id.
Diffstat (limited to 'src/mxf.cc')
| -rw-r--r-- | src/mxf.cc | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -131,10 +131,16 @@ MXF::set_key (Key key) } } -void +string MXF::read_writer_info (ASDCP::WriterInfo const & info) { char buffer[64]; + + Kumu::bin2UUIDhex (info.CryptographicKeyID, ASDCP::UUIDlen, buffer, sizeof (buffer)); + _key_id = buffer; + + _metadata.read (info); + Kumu::bin2UUIDhex (info.AssetUUID, ASDCP::UUIDlen, buffer, sizeof (buffer)); - _id = buffer; + return buffer; } |
