projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
303350a
)
Fix _last_video_time with 3D.
author
Carl Hetherington
<cth@carlh.net>
Tue, 16 May 2017 15:10:56 +0000
(16:10 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 16 May 2017 15:10:56 +0000
(16:10 +0100)
src/lib/player.cc
patch
|
blob
|
history
diff --git
a/src/lib/player.cc
b/src/lib/player.cc
index 0c17e08d05dcd3b14024d7f92b380feca961fb23..f5a9d7b17a8ab8e68dd685573e37d3d79e9fa715 100644
(file)
--- a/
src/lib/player.cc
+++ b/
src/lib/player.cc
@@
-993,9
+993,13
@@
Player::emit_video (shared_ptr<PlayerVideo> pv, DCPTime time)
if (subtitles) {
pv->set_subtitle (subtitles.get ());
}
+
Video (pv, time);
- _last_video_time = time + one_video_frame();
- _active_subtitles.clear_before (time);
+
+ if (pv->eyes() == EYES_BOTH || pv->eyes() == EYES_RIGHT) {
+ _last_video_time = time + one_video_frame();
+ _active_subtitles.clear_before (time);
+ }
}
void