From ad15f80996bf14c7c33875a834cc07ed4dfd7214 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 23 Feb 2018 01:21:12 +0000 Subject: Fix thinko in previous. --- src/lib/player.cc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/lib/player.cc b/src/lib/player.cc index 87a294042..6b858ed2c 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -983,7 +983,14 @@ Player::emit_video (shared_ptr pv, DCPTime time) player before the video that requires them. */ _delay.push_back (make_pair (pv, time)); - if (_delay.size() < 2) { + + if (pv->eyes() == EYES_BOTH || pv->eyes() == EYES_RIGHT) { + _last_video_time = time + one_video_frame(); + _active_subtitles.clear_before (time); + } + _last_video_eyes = increment_eyes (pv->eyes()); + + if (_delay.size() < 3) { return; } @@ -1001,12 +1008,6 @@ Player::do_emit_video (shared_ptr pv, DCPTime time) } Video (pv, time); - - if (pv->eyes() == EYES_BOTH || pv->eyes() == EYES_RIGHT) { - _last_video_time = time + one_video_frame(); - _active_subtitles.clear_before (time); - } - _last_video_eyes = increment_eyes (pv->eyes()); } void -- cgit v1.2.3