diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-12 22:19:06 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-12 22:19:06 +0000 |
| commit | 1f6bd6a9128dff57b690827104a683671436eba6 (patch) | |
| tree | 038f0862e38061e0ba0af537d69daa33b40904b7 /src/smpte_dcp_reader.cc | |
| parent | 98849307fdb27a4cbf760d358fbb82dc60628b05 (diff) | |
Tests pass.
Diffstat (limited to 'src/smpte_dcp_reader.cc')
| -rw-r--r-- | src/smpte_dcp_reader.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/smpte_dcp_reader.cc b/src/smpte_dcp_reader.cc index f8cc5df..f45a789 100644 --- a/src/smpte_dcp_reader.cc +++ b/src/smpte_dcp_reader.cc @@ -62,18 +62,9 @@ SMPTEDCPReader::SMPTEDCPReader (boost::filesystem::path file, bool mxf) } _load_font_nodes = type_children<dcp::SMPTELoadFont> (xml, "LoadFont"); - _timecode_rate = xml->number_child<int> ("TimeCodeRate"); - shared_ptr<cxml::Node> subtitle_list = xml->optional_node_child ("SubtitleList"); - - list<cxml::NodePtr> f = subtitle_list->node_children ("Font"); - list<shared_ptr<dcp::Font> > font_nodes; - BOOST_FOREACH (cxml::NodePtr& i, f) { - font_nodes.push_back (shared_ptr<dcp::Font> (new dcp::Font (i, true))); - } - - parse_common (xml, font_nodes); + parse_common (xml, true); } int |
