*/
_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 */
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
boost::weak_ptr<Job> _job;
std::vector<ReelWriter> _reels;
std::vector<ReelWriter>::iterator _audio_reel;
- std::vector<ReelWriter>::iterator _caption_reel[TEXT_COUNT];
+ std::vector<ReelWriter>::iterator _text_reel[TEXT_COUNT];
/** our thread, or 0 */
boost::thread* _thread;