diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-19 20:10:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-19 23:45:23 +0100 |
| commit | 0e4a58abdc78f84478031acdc0acb95f5cb9a2a6 (patch) | |
| tree | 2b20b3f38ad09ee2c161a0612f0b7a4c65983d06 /src/lib/reel_writer.cc | |
| parent | 6b4059b815eec61ff953918694f5b6fbe010a1a0 (diff) | |
Finish PlayerSubtitles -> PlayerText and SubtitleString -> PlainText.
Diffstat (limited to 'src/lib/reel_writer.cc')
| -rw-r--r-- | src/lib/reel_writer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/reel_writer.cc b/src/lib/reel_writer.cc index 197773a20..d23ac76d1 100644 --- a/src/lib/reel_writer.cc +++ b/src/lib/reel_writer.cc @@ -528,7 +528,7 @@ ReelWriter::write (shared_ptr<const AudioBuffers> audio) } void -ReelWriter::write (PlayerSubtitles subs, DCPTimePeriod period) +ReelWriter::write (PlayerText subs, DCPTimePeriod period) { if (!_subtitle_asset) { string lang = _film->subtitle_language (); @@ -556,7 +556,7 @@ ReelWriter::write (PlayerSubtitles subs, DCPTimePeriod period) } } - BOOST_FOREACH (SubtitleString i, subs.text) { + BOOST_FOREACH (PlainText i, subs.text) { /* XXX: couldn't / shouldn't we use period here rather than getting time from the subtitle? */ i.set_in (i.in() - dcp::Time (_period.from.seconds(), i.in().tcr)); i.set_out (i.out() - dcp::Time (_period.from.seconds(), i.out().tcr)); |
