diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-12 21:06:29 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-12 21:06:29 +0000 |
| commit | 68560d1e94ee311d7fbfcdf98a704decef232108 (patch) | |
| tree | 2456ee37413e4b0b34a6ccfc783c4ed751c94be1 /src/dcp/text.cc | |
| parent | 670020792233d50b14363e54db6808733d5d2171 (diff) | |
Various fixes.
Diffstat (limited to 'src/dcp/text.cc')
| -rw-r--r-- | src/dcp/text.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dcp/text.cc b/src/dcp/text.cc index 03d86d3..dde5320 100644 --- a/src/dcp/text.cc +++ b/src/dcp/text.cc @@ -37,7 +37,7 @@ using namespace sub; * in this object's member variables. * @param node Node to read. */ -dcp::Text::Text (boost::shared_ptr<const cxml::Node> node, int tcr) +dcp::Text::Text (boost::shared_ptr<const cxml::Node> node, bool smpte) : v_align (CENTRE_OF_SCREEN) { text = node->content (); @@ -66,6 +66,6 @@ dcp::Text::Text (boost::shared_ptr<const cxml::Node> node, int tcr) list<cxml::NodePtr> f = node->node_children ("Font"); BOOST_FOREACH (cxml::NodePtr& i, f) { - font_nodes.push_back (shared_ptr<Font> (new Font (i, tcr))); + font_nodes.push_back (shared_ptr<Font> (new Font (i, smpte))); } } |
