diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/dcp_encoder.cc | 10 | ||||
| -rw-r--r-- | src/lib/player.cc | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/dcp_encoder.cc b/src/lib/dcp_encoder.cc index c5bcf31f2..f1c412539 100644 --- a/src/lib/dcp_encoder.cc +++ b/src/lib/dcp_encoder.cc @@ -132,16 +132,6 @@ DCPEncoder::go () 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); } diff --git a/src/lib/player.cc b/src/lib/player.cc index a5538d9a6..0bdf46f4a 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -1199,6 +1199,16 @@ Player::seek (DCPTime time, bool accurate) void Player::emit_video (shared_ptr<PlayerVideo> pv, DCPTime time) { + if (!_film->three_d()) { + if (pv->eyes() == Eyes::LEFT) { + /* Use left-eye images for both eyes... */ + pv->set_eyes (Eyes::BOTH); + } else if (pv->eyes() == Eyes::RIGHT) { + /* ...and discard the right */ + return; + } + } + /* We need a delay to give a little wiggle room to ensure that relevent subtitles arrive at the player before the video that requires them. */ |
