summaryrefslogtreecommitdiff
path: root/src/lib/writer.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-23 10:37:59 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-23 10:37:59 +0100
commit8855efa208776139bf9ce5a188db080e1e136e9b (patch)
treeb5999ee0fcc6a8a41b8067091df8b916691dcd1b /src/lib/writer.cc
parentfc84af606d8ba5106cf0045777e786ff56305876 (diff)
More caption -> text.
Diffstat (limited to 'src/lib/writer.cc')
-rw-r--r--src/lib/writer.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc
index a7e3218b5..4b5c5a102 100644
--- a/src/lib/writer.cc
+++ b/src/lib/writer.cc
@@ -96,7 +96,7 @@ Writer::Writer (shared_ptr<const Film> film, weak_ptr<Job> j)
*/
_audio_reel = _reels.begin ();
for (int i = 0; i < TEXT_COUNT; ++i) {
- _caption_reel[i] = _reels.begin ();
+ _text_reel[i] = _reels.begin ();
}
/* Check that the signer is OK if we need one */
@@ -667,14 +667,14 @@ Writer::can_fake_write (Frame frame) const
void
Writer::write (PlayerText text, TextType type, DCPTimePeriod period)
{
- while (_caption_reel[type]->period().to <= period.from) {
- ++_caption_reel[type];
- DCPOMATIC_ASSERT (_caption_reel[type] != _reels.end());
+ while (_text_reel[type]->period().to <= period.from) {
+ ++_text_reel[type];
+ DCPOMATIC_ASSERT (_text_reel[type] != _reels.end());
}
- DCPOMATIC_ASSERT (_caption_reel[type] != _reels.end());
+ DCPOMATIC_ASSERT (_text_reel[type] != _reels.end());
- _caption_reel[type]->write (text, type, period);
+ _text_reel[type]->write (text, type, period);
}
void