diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-12-15 14:22:40 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-12-15 14:22:40 +0000 |
| commit | 48fc425ae9c6a92ce42b26dd441b6723c9912c5d (patch) | |
| tree | 33596592a7ddea3e75f7a99d96544050abdc7393 /src/lib/subrip_decoder.cc | |
| parent | 784b55d18f4bddddd49fdb62475638336dcdcb21 (diff) | |
More fixes for newer libdcp.
Diffstat (limited to 'src/lib/subrip_decoder.cc')
| -rw-r--r-- | src/lib/subrip_decoder.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/subrip_decoder.cc b/src/lib/subrip_decoder.cc index 411e7542d..e13b11063 100644 --- a/src/lib/subrip_decoder.cc +++ b/src/lib/subrip_decoder.cc @@ -23,7 +23,9 @@ using std::list; using std::vector; +using std::string; using boost::shared_ptr; +using boost::optional; SubRipDecoder::SubRipDecoder (shared_ptr<const SubRipContent> content) : SubtitleDecoder (content) @@ -58,7 +60,7 @@ SubRipDecoder::pass () for (list<sub::Block>::const_iterator j = i->blocks.begin(); j != i->blocks.end(); ++j) { out.push_back ( dcp::SubtitleString ( - "Arial", + optional<string> (), j->italic, dcp::Color (255, 255, 255), /* .srt files don't specify size, so this is an arbitrary value */ |
