projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdbab4e
)
Clear out _stream_states before re-filling it.
author
Carl Hetherington
<cth@carlh.net>
Sun, 10 Dec 2017 21:25:56 +0000
(21:25 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 10 Dec 2017 21:25:56 +0000
(21:25 +0000)
src/lib/player.cc
patch
|
blob
|
history
diff --git
a/src/lib/player.cc
b/src/lib/player.cc
index 51f6a32c3c81b9a561bdaa05e583614456548397..f91e3a7f2eb9f3b17ced0fc6939db13c8e1f2ae4 100644
(file)
--- a/
src/lib/player.cc
+++ b/
src/lib/player.cc
@@
-151,6
+151,7
@@
Player::setup_pieces ()
}
}
+ _stream_states.clear ();
BOOST_FOREACH (shared_ptr<Piece> i, _pieces) {
if (i->content->audio) {
BOOST_FOREACH (AudioStreamPtr j, i->content->audio->streams()) {