aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/player_thread.c')
-rw-r--r--src/player_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player_thread.c b/src/player_thread.c
index 486a8c96e..15fc9d235 100644
--- a/src/player_thread.c
+++ b/src/player_thread.c
@@ -458,7 +458,7 @@ static bool player_seek_decoder(struct player *player)
assert(pc->next_song != NULL);
- if (decoder_current_song(dc) != song) {
+ if (!decoder_lock_is_current_song(dc, song)) {
/* the decoder is already decoding the "next" song -
stop it and start the previous song again */