summaryrefslogtreecommitdiff
path: root/src/subtitle_node.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-14 14:09:52 +0100
committerCarl Hetherington <cth@carlh.net>2016-06-14 14:09:52 +0100
commit07e94266c1225d99c462bc43a7f2704dcaf0413c (patch)
treebd058f3fd67f53a79775514cc0f9c6253aea9c18 /src/subtitle_node.h
parentb86d99bcf4f588b4f07f94bd14f44d559072f384 (diff)
parent8837fe70049bd5ed7ab583c06d6c9a620a01b351 (diff)
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Diffstat (limited to 'src/subtitle_node.h')
-rw-r--r--src/subtitle_node.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/subtitle_node.h b/src/subtitle_node.h
index 28e410e3..37d41f01 100644
--- a/src/subtitle_node.h
+++ b/src/subtitle_node.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
@@ -52,7 +52,7 @@ class SubtitleNode
{
public:
SubtitleNode () {}
- SubtitleNode (boost::shared_ptr<const cxml::Node> node, int tcr, std::string font_id_attribute);
+ SubtitleNode (boost::shared_ptr<const cxml::Node> node, boost::optional<int> tcr, std::string font_id_attribute);
Time in;
Time out;
@@ -62,7 +62,7 @@ public:
std::list<boost::shared_ptr<TextNode> > text_nodes;
private:
- Time fade_time (boost::shared_ptr<const cxml::Node>, std::string name, int tcr);
+ Time fade_time (boost::shared_ptr<const cxml::Node>, std::string name, boost::optional<int> tcr);
};
}