diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-23 11:19:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-23 11:19:06 +0100 |
| commit | 7962e6cfd5fbd97e1e44aebe3fc190c62da027e9 (patch) | |
| tree | 39ceac432749a506fc3dc9ff52d3d8aff4a85df3 /src/lib/text_decoder.cc | |
| parent | 8855efa208776139bf9ce5a188db080e1e136e9b (diff) | |
Remove TextType from various places as (I believe) it can be inferred from the content.
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 3b6a06ea1..00d58af86 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, _content->type(), image, rect)); + BitmapStart (ContentBitmapText (from, image, rect)); _position = from; } @@ -94,7 +94,7 @@ TextDecoder::emit_plain_start (ContentTime from, list<dcp::SubtitleString> s) } } - PlainStart (ContentStringText (from, _content->type(), s)); + PlainStart (ContentStringText (from, 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, _content->type()); + Stop (to); } void |
