_assets.push_back (make_pair(shared_ptr<dcp::SubtitleAsset>(), boost::filesystem::change_extension(filename, extension)));
}
- BOOST_FOREACH (dcpomatic::DCPTimePeriod i, film->reels()) {
+ for (auto i: film->reels()) {
_reels.push_back (i);
}
}
if (!_film->interop() || _include_font) {
- BOOST_FOREACH (dcpomatic::FontData j, _player->get_subtitle_fonts()) {
+ for (auto j: _player->get_subtitle_fonts()) {
i->first->add_font (j.id, _default_font);
}
}
}
}
- BOOST_FOREACH (StringText i, subs.string) {
+ for (auto i: subs.string) {
/* XXX: couldn't / shouldn't we use period here rather than getting time from the subtitle? */
i.set_in (i.in());
i.set_out (i.out());