diff options
Diffstat (limited to 'src/lib/text_decoder.cc')
| -rw-r--r-- | src/lib/text_decoder.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/text_decoder.cc b/src/lib/text_decoder.cc index d485ef64b..c655fb5b5 100644 --- a/src/lib/text_decoder.cc +++ b/src/lib/text_decoder.cc @@ -267,8 +267,13 @@ TextDecoder::emit_plain_start (ContentTime from, sub::Subtitle const & sub_subti } } - /* Pass these subs through the other emit_plain_start so that they get their forced settings applied */ - emit_plain_start (from, dcp_subtitles); + for (auto& subtitle: dcp_subtitles) { + subtitle.set_text(escape_text(subtitle.text())); + set_forced_appearance(content(), subtitle); + } + + PlainStart(ContentStringText(from, dcp_subtitles)); + _position = from; } |
