Missing handling of CHANGE_TYPE_CANCELLED causing another hang. v2.13.46
authorCarl Hetherington <cth@carlh.net>
Wed, 29 Aug 2018 15:36:45 +0000 (16:36 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 29 Aug 2018 15:36:45 +0000 (16:36 +0100)
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_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);