diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-02-23 01:21:12 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-02-23 01:21:12 +0000 |
| commit | ad15f80996bf14c7c33875a834cc07ed4dfd7214 (patch) | |
| tree | 15c8ce66dbdb732a5039ca0d31efcb99ab3550ad | |
| parent | c8d104aa221bdccb0a11524c038b5f4c7c070554 (diff) | |
Fix thinko in previous.
| -rw-r--r-- | src/lib/player.cc | 15 |
1 files changed, 8 insertions, 7 deletions
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<PlayerVideo> 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<PlayerVideo> 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 |
