diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-27 22:38:43 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-27 22:38:43 +0000 |
| commit | 00e9647a9ede540f2d567c19025278c25a87c830 (patch) | |
| tree | 145f7fc92cfa0670e7da304b965d30f751ab1b14 /src/mxf.cc | |
| parent | 8c2f3517e868078b551bb01d975f2956cb692fbf (diff) | |
Various tweaks; work on read_dcp example.
Diffstat (limited to 'src/mxf.cc')
| -rw-r--r-- | src/mxf.cc | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -31,7 +31,6 @@ #include "kdm.h" #include <libxml++/nodes/element.h> #include <boost/filesystem.hpp> -#include <boost/lexical_cast.hpp> #include <iostream> using std::string; @@ -147,3 +146,11 @@ MXF::set_key (Key key) throw MiscError ("could not set up CBC initialization vector"); } } + +void +MXF::read_writer_info (ASDCP::WriterInfo const & info) +{ + char buffer[64]; + Kumu::bin2UUIDhex (info.AssetUUID, 16, buffer, 64); + _id = buffer; +} |
