Fix _last_video_time with 3D.
authorCarl Hetherington <cth@carlh.net>
Tue, 16 May 2017 15:10:56 +0000 (16:10 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 16 May 2017 15:10:56 +0000 (16:10 +0100)
src/lib/player.cc

index 0c17e08d05dcd3b14024d7f92b380feca961fb23..f5a9d7b17a8ab8e68dd685573e37d3d79e9fa715 100644 (file)
@@ -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