Missing handling of CHANGE_TYPE_CANCELLED causing another hang.
[dcpomatic.git] / src / lib / player.cc
index 5202bbbe0ff190f6d0a8f4cf682eb1d522a8eb63..b939995ef7bbaa7c5fdc6953be645da0fe803295 100644 (file)
@@ -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_CANCELLED) {
+               _suspended = false;
        }
 
        Change (type, property, frequent);