projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d0cd22
)
_stream_states must be reset on seek otherwise #2368.
author
Carl Hetherington
<cth@carlh.net>
Sun, 20 Nov 2022 21:03:38 +0000
(22:03 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 25 Nov 2022 22:42:55 +0000
(23:42 +0100)
src/lib/player.cc
patch
|
blob
|
history
diff --git
a/src/lib/player.cc
b/src/lib/player.cc
index 80b972dbe6a4d5ca2c600ce0bdeed3d9b89a1feb..40f726d107b716f7f51606e0e28f93a07f351cc9 100644
(file)
--- a/
src/lib/player.cc
+++ b/
src/lib/player.cc
@@
-1347,6
+1347,10
@@
Player::seek (DCPTime time, bool accurate)
_silent.set_position (time);
_last_video.clear ();
+
+ for (auto& state: _stream_states) {
+ state.second.last_push_end = {};
+ }
}