diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-10 00:07:47 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-10 00:07:47 +0000 |
| commit | 67a414dc3826761c8933640e85560644f5f02310 (patch) | |
| tree | 6fc3ab11423d5fdd15847890be56bb98ed241852 /src/subtitle.h | |
| parent | 9fc6bcde891567ca04fe2d9835ab48a17c9b69a7 (diff) | |
Fix handling of timing in SMPTE subtitles.
Diffstat (limited to 'src/subtitle.h')
| -rw-r--r-- | src/subtitle.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/subtitle.h b/src/subtitle.h index 073bfb0c..0958a1d4 100644 --- a/src/subtitle.h +++ b/src/subtitle.h @@ -22,6 +22,7 @@ #include "dcp_time.h" #include <boost/shared_ptr.hpp> +#include <boost/optional.hpp> #include <list> namespace cxml { @@ -37,7 +38,7 @@ class Subtitle { public: Subtitle () {} - Subtitle (boost::shared_ptr<const cxml::Node> node); + Subtitle (boost::shared_ptr<const cxml::Node> node, int tcr); Time in; Time out; @@ -47,7 +48,7 @@ public: std::list<boost::shared_ptr<Text> > text_nodes; private: - Time fade_time (boost::shared_ptr<const cxml::Node>, std::string name); + Time fade_time (boost::shared_ptr<const cxml::Node>, std::string name, int tcr); }; } |
