From 8837fe70049bd5ed7ab583c06d6c9a620a01b351 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 14 Jun 2016 00:20:06 +0100 Subject: Tighten up time parsing, and also allow the previously unsupported Interop HH:MM:SS.sss format for times. --- src/text_node.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/text_node.cc') diff --git a/src/text_node.cc b/src/text_node.cc index 03777c75..cfd0557f 100644 --- a/src/text_node.cc +++ b/src/text_node.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2015 Carl Hetherington + Copyright (C) 2012-2016 Carl Hetherington This file is part of libdcp. @@ -51,7 +51,7 @@ using namespace dcp; * in this object's member variables. * @param node Node to read. */ -TextNode::TextNode (boost::shared_ptr node, int tcr, string font_id_attribute) +TextNode::TextNode (boost::shared_ptr node, optional tcr, string font_id_attribute) : h_position (0) , h_align (HALIGN_CENTER) , v_position (0) -- cgit v1.2.3