projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c86d70
)
Stop old frames appearing in the preview after seeks.
author
Carl Hetherington
<cth@carlh.net>
Thu, 1 Jun 2017 13:59:01 +0000
(14:59 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 1 Jun 2017 13:59:01 +0000
(14:59 +0100)
src/lib/player.cc
patch
|
blob
|
history
diff --git
a/src/lib/player.cc
b/src/lib/player.cc
index 2e47da5bfc9306c16077410be99dc7b5d00d7415..5c84ea5f525fe35786503ad081ebf956812decda 100644
(file)
--- a/
src/lib/player.cc
+++ b/
src/lib/player.cc
@@
-895,6
+895,8
@@
Player::seek (DCPTime time, bool accurate)
_last_video_time = optional<DCPTime>();
_last_audio_time = optional<DCPTime>();
}
+
+ _last_video.clear ();
}
void