diff options
Diffstat (limited to '')
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/player_thread.c | 8 |
2 files changed, 9 insertions, 0 deletions
@@ -8,6 +8,7 @@ MPD 0.14.1 - not yet released * fix setenv() conflict on Solaris * configure.ac: check for pkg-config before using it * fix minor memory leak in decoder_tag() +* fix cross-fading bug: it used to play some chunks of the new song twice ver 0.14 (2008/12/25) diff --git a/src/player_thread.c b/src/player_thread.c index 7da412dfa..50e097a24 100644 --- a/src/player_thread.c +++ b/src/player_thread.c @@ -441,6 +441,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; } } |