summaryrefslogtreecommitdiff
path: root/src/interop_dcp_reader.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-13 11:31:55 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-13 11:31:55 +0000
commitd15ef17dccf87b633d1971c38032a2049abe3db0 (patch)
tree3bbde3c1959bae6b0ad064972f95bd9406416fbb /src/interop_dcp_reader.cc
parentacca8cb950de132fbc4be40e7dc7d294c6cb0a38 (diff)
Re-work time.
Diffstat (limited to 'src/interop_dcp_reader.cc')
-rw-r--r--src/interop_dcp_reader.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interop_dcp_reader.cc b/src/interop_dcp_reader.cc
index 5767b05..5751dcd 100644
--- a/src/interop_dcp_reader.cc
+++ b/src/interop_dcp_reader.cc
@@ -26,6 +26,7 @@
using std::list;
using boost::shared_ptr;
+using boost::optional;
using namespace sub;
InteropDCPReader::InteropDCPReader (boost::filesystem::path file)
@@ -37,5 +38,5 @@ InteropDCPReader::InteropDCPReader (boost::filesystem::path file)
_movie_title = xml->string_child ("MovieTitle");
_load_font_nodes = type_children<dcp::InteropLoadFont> (xml, "LoadFont");
- parse_common (xml, false);
+ parse_common (xml, optional<int> ());
}