diff options
Diffstat (limited to 'src/player_thread.c')
-rw-r--r-- | src/player_thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player_thread.c b/src/player_thread.c index 4f754241b..907d7a92a 100644 --- a/src/player_thread.c +++ b/src/player_thread.c @@ -134,7 +134,7 @@ player_dc_start(struct player *player, struct music_pipe *pipe) { struct decoder_control *dc = player->dc; - assert(player->queued); + assert(player->queued || pc.command == PLAYER_COMMAND_SEEK); assert(pc.next_song != NULL); dc_start(dc, pc.next_song, player_buffer, pipe); @@ -187,7 +187,7 @@ player_wait_for_decoder(struct player *player) { struct decoder_control *dc = player->dc; - assert(player->queued); + assert(player->queued || pc.command == PLAYER_COMMAND_SEEK); assert(pc.next_song != NULL); player->queued = false; |