diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-04 00:22:51 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-04 00:22:51 +0100 |
| commit | 0a5e92450ae992e9ed24026dd60ae351d0a3e60b (patch) | |
| tree | 1658894ecbda49e61a01dc477cdbb2e7d0b57255 /src/lib/reel_writer.cc | |
| parent | 984455f1a072b0fa42879d03042e82df0a3cb3bd (diff) | |
Some subtitle renaming.
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 2561e556a..f9e3471a8 100644 --- a/src/lib/reel_writer.cc +++ b/src/lib/reel_writer.cc @@ -573,14 +573,14 @@ ReelWriter::write (PlayerText subs, TextType type, DCPTimePeriod period) } } - BOOST_FOREACH (StringText i, subs.text) { + BOOST_FOREACH (StringText i, subs.string) { /* 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 (BitmapText i, subs.image) { + BOOST_FOREACH (BitmapText i, subs.bitmap) { _caption_asset[type]->add ( shared_ptr<dcp::Subtitle>( new dcp::SubtitleImage( |
