}
if (_non_burnt_subtitles) {
- auto fonts = _player->get_subtitle_fonts ();
-
- if (fonts.size() > 1 && _film->interop()) {
- /* Interop will ignore second and subsequent <LoadFont>s so don't even
- write them as they upset some validators.
- */
- auto first = fonts.front();
- fonts.clear ();
- fonts.push_back (first);
- }
-
- _writer->write (fonts);
+ _writer->write(_player->get_subtitle_fonts());
}
while (!_player->pass ()) {}
void
DCPEncoder::video (shared_ptr<PlayerVideo> data, DCPTime time)
{
- if (!_film->three_d()) {
- if (data->eyes() == Eyes::LEFT) {
- /* Use left-eye images for both eyes... */
- data->set_eyes (Eyes::BOTH);
- } else if (data->eyes() == Eyes::RIGHT) {
- /* ...and discard the right */
- return;
- }
- }
-
_j2k_encoder->encode (data, time);
}