diff options
Diffstat (limited to 'src/lib/reel_writer.cc')
| -rw-r--r-- | src/lib/reel_writer.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/reel_writer.cc b/src/lib/reel_writer.cc index 1836b6543..7f5572c36 100644 --- a/src/lib/reel_writer.cc +++ b/src/lib/reel_writer.cc @@ -545,7 +545,7 @@ ReelWriter::write (shared_ptr<const AudioBuffers> audio) } void -ReelWriter::write (PlayerCaption subs, CaptionType type, DCPTimePeriod period) +ReelWriter::write (PlayerText subs, TextType type, DCPTimePeriod period) { if (!_caption_asset[type]) { string lang = _film->subtitle_language (); @@ -573,14 +573,14 @@ ReelWriter::write (PlayerCaption subs, CaptionType type, DCPTimePeriod period) } } - BOOST_FOREACH (TextCaption i, subs.text) { + BOOST_FOREACH (StringText 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)); _caption_asset[type]->add (shared_ptr<dcp::Subtitle>(new dcp::SubtitleString(i))); } - BOOST_FOREACH (BitmapCaption i, subs.image) { + BOOST_FOREACH (BitmapText i, subs.image) { _caption_asset[type]->add ( shared_ptr<dcp::Subtitle>( new dcp::SubtitleImage( |
