projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1a96da
)
Only mark _suspended as false at the appropriate times; previously
v2.13.130
author
Carl Hetherington
<cth@carlh.net>
Wed, 13 Mar 2019 12:53:23 +0000
(12:53 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 13 Mar 2019 12:53:23 +0000
(12:53 +0000)
it was done too often, I think.
src/lib/player.cc
patch
|
blob
|
history
diff --git
a/src/lib/player.cc
b/src/lib/player.cc
index caf165e11ef9babc903306c13fc5cc6850685dfd..537a7190606e2e3effe394c356d2dfca9657003b 100644
(file)
--- a/
src/lib/player.cc
+++ b/
src/lib/player.cc
@@
-231,7
+231,6
@@
Player::setup_pieces_unlocked ()
_last_video_time = DCPTime ();
_last_video_eyes = EYES_BOTH;
_last_audio_time = DCPTime ();
- _suspended = false;
}
void
@@
-247,6
+246,7
@@
Player::playlist_content_change (ChangeType type, int property, bool frequent)
} else if (type == CHANGE_TYPE_DONE) {
/* A change in our content has gone through. Re-build our pieces. */
setup_pieces ();
+ _suspended = false;
} else if (type == CHANGE_TYPE_CANCELLED) {
boost::mutex::scoped_lock lm (_mutex);
_suspended = false;