projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Missing handling of CHANGE_TYPE_CANCELLED causing another hang.
[dcpomatic.git]
/
src
/
lib
/
player.cc
diff --git
a/src/lib/player.cc
b/src/lib/player.cc
index 5202bbbe0ff190f6d0a8f4cf682eb1d522a8eb63..b939995ef7bbaa7c5fdc6953be645da0fe803295 100644
(file)
--- a/
src/lib/player.cc
+++ b/
src/lib/player.cc
@@
-237,6
+237,8
@@
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 ();
} else if (type == CHANGE_TYPE_DONE) {
/* A change in our content has gone through. Re-build our pieces. */
setup_pieces ();
+ } else if (type == CHANGE_TYPE_CANCELLED) {
+ _suspended = false;
}
Change (type, property, frequent);
}
Change (type, property, frequent);