diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-19 21:23:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-19 23:45:23 +0100 |
| commit | 0ab83642f0c96ae2681beae04873b3226338a570 (patch) | |
| tree | 0893f0bed5e4ee9f37947edde970e9095ddcb9ba /src/lib/text_decoder.cc | |
| parent | ff40ecd114547a2fc07bc49403c993c3fa5d40cc (diff) | |
Text to player with types.
Diffstat (limited to 'src/lib/text_decoder.cc')
| -rw-r--r-- | src/lib/text_decoder.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/text_decoder.cc b/src/lib/text_decoder.cc index a7271601d..2423fc738 100644 --- a/src/lib/text_decoder.cc +++ b/src/lib/text_decoder.cc @@ -60,7 +60,7 @@ TextDecoder::TextDecoder ( void TextDecoder::emit_bitmap_start (ContentTime from, shared_ptr<Image> image, dcpomatic::Rect<double> rect) { - BitmapStart (ContentBitmapText (from, image, rect)); + BitmapStart (ContentBitmapText (from, _content->type(), image, rect)); _position = from; } @@ -94,7 +94,7 @@ TextDecoder::emit_plain_start (ContentTime from, list<dcp::SubtitleString> s) } } - PlainStart (ContentPlainText (from, s)); + PlainStart (ContentPlainText (from, _content->type(), s)); _position = from; } @@ -233,7 +233,7 @@ TextDecoder::emit_plain_start (ContentTime from, sub::Subtitle const & subtitle) void TextDecoder::emit_stop (ContentTime to) { - Stop (to); + Stop (to, _content->type()); } void |
