summaryrefslogtreecommitdiff
path: root/src/mxf.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-27 22:38:43 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-27 22:38:43 +0000
commit00e9647a9ede540f2d567c19025278c25a87c830 (patch)
tree145f7fc92cfa0670e7da304b965d30f751ab1b14 /src/mxf.cc
parent8c2f3517e868078b551bb01d975f2956cb692fbf (diff)
Various tweaks; work on read_dcp example.
Diffstat (limited to 'src/mxf.cc')
-rw-r--r--src/mxf.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mxf.cc b/src/mxf.cc
index 1a19b817..200bc843 100644
--- a/src/mxf.cc
+++ b/src/mxf.cc
@@ -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;
+}