diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-09 14:02:20 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-09 14:02:20 +0100 |
| commit | e4b8bed37b4fcfb932e2b899003f2a95df908ba0 (patch) | |
| tree | 6af8acd73fdfdaa0025dca758cc29e488c4ce8a4 /src/smpte_load_font_node.cc | |
| parent | 2ac1dbfeaffa5166f104ef4a01fedc41f542cacf (diff) | |
Handle storing/recovery of fonts in SMPTE MXF files.
Diffstat (limited to 'src/smpte_load_font_node.cc')
| -rw-r--r-- | src/smpte_load_font_node.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/smpte_load_font_node.cc b/src/smpte_load_font_node.cc index 11f7d5a4..28a020df 100644 --- a/src/smpte_load_font_node.cc +++ b/src/smpte_load_font_node.cc @@ -24,8 +24,16 @@ using std::string; using boost::shared_ptr; using namespace dcp; +SMPTELoadFontNode::SMPTELoadFontNode (string id, string urn_) + : LoadFontNode (id) + , urn (urn_) +{ + +} + SMPTELoadFontNode::SMPTELoadFontNode (shared_ptr<const cxml::Node> node) : LoadFontNode (node->string_attribute ("ID")) + , urn (node->content().substr (9)) { - urn = node->content().substr (9); + } |
