Stop old frames appearing in the preview after seeks.
authorCarl Hetherington <cth@carlh.net>
Thu, 1 Jun 2017 13:59:01 +0000 (14:59 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 1 Jun 2017 13:59:01 +0000 (14:59 +0100)
src/lib/player.cc

index 2e47da5bfc9306c16077410be99dc7b5d00d7415..5c84ea5f525fe35786503ad081ebf956812decda 100644 (file)
@@ -895,6 +895,8 @@ Player::seek (DCPTime time, bool accurate)
                _last_video_time = optional<DCPTime>();
                _last_audio_time = optional<DCPTime>();
        }
+
+       _last_video.clear ();
 }
 
 void