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/font_node.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/font_node.cc') diff --git a/src/font_node.cc b/src/font_node.cc index 77d58aaf..6dd6e58f 100644 --- a/src/font_node.cc +++ b/src/font_node.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2015 Carl Hetherington + Copyright (C) 2012-2016 Carl Hetherington This file is part of libdcp. @@ -45,7 +45,7 @@ using boost::shared_ptr; using boost::optional; using namespace dcp; -FontNode::FontNode (cxml::ConstNodePtr node, int tcr, string font_id_attribute) +FontNode::FontNode (cxml::ConstNodePtr node, optional tcr, string font_id_attribute) { text = node->content (); -- cgit v1.2.3