aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/player_thread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/player_thread.c b/src/player_thread.c
index 06d44c7b4..83e412048 100644
--- a/src/player_thread.c
+++ b/src/player_thread.c
@@ -204,13 +204,14 @@ static void player_process_command(struct player *player)
break;
case PLAYER_COMMAND_SEEK:
- audio_output_all_cancel();
if (player_seek_decoder(player)) {
player->xfade = XFADE_UNKNOWN;
/* abort buffering when the user has requested
a seek */
player->buffering = false;
+
+ audio_output_all_cancel();
}
break;