diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-02-26 18:41:41 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-02-26 18:41:41 +0000 |
| commit | 2e93ca3670e5581b5523f60130b38594de10d6c3 (patch) | |
| tree | 6ed18ed07bccf77b2d172ef7681fce981956815f /src/mxf.cc | |
| parent | 9ed550de7b98ca2f8467dd134a9c0ad7f1868f23 (diff) | |
| parent | 447cc7ddec5ace7bb47df35192ef02e7c19bf9b3 (diff) | |
Merge master; MXF subtitle stuff not included.
Diffstat (limited to 'src/mxf.cc')
| -rw-r--r-- | src/mxf.cc | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -29,6 +29,7 @@ #include "metadata.h" #include "exceptions.h" #include "kdm.h" +#include "compose.hpp" #include <libxml++/nodes/element.h> #include <boost/filesystem.hpp> #include <iostream> @@ -152,3 +153,16 @@ MXF::read_writer_info (ASDCP::WriterInfo const & info) Kumu::bin2UUIDhex (info.AssetUUID, 16, buffer, 64); _id = buffer; } + +string +MXF::pkl_type (Standard standard) const +{ + switch (standard) { + case INTEROP: + return String::compose ("application/x-smpte-mxf;asdcpKind=%1", asdcp_kind ()); + case SMPTE: + return "application/x-smpte-mxf"; + default: + assert (false); + } +} |
