diff options
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 */ |
