aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_thread.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/player_thread.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/player_thread.c b/src/player_thread.c
index 55a3132bb..acaf7e123 100644
--- a/src/player_thread.c
+++ b/src/player_thread.c
@@ -451,6 +451,14 @@ static void do_play(void)
music_pipe_set_lazy(false);
notify_signal(&dc.notify);
notify_wait(&pc.notify);
+
+ /* set nextChunk to a
+ non-negative value
+ so the next
+ iteration doesn't
+ assume crossfading
+ hasn't begun yet */
+ nextChunk = 0;
continue;
}
}