summaryrefslogtreecommitdiff
path: root/src/mxf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mxf.cc')
-rw-r--r--src/mxf.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mxf.cc b/src/mxf.cc
index d259bd97..bc5c0bd1 100644
--- a/src/mxf.cc
+++ b/src/mxf.cc
@@ -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;
}