aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-20 23:11:01 +0100
committerMax Kellermann <max@duempel.org>2009-01-20 23:11:01 +0100
commit1379db379d2ac5ebb878c2323622513fdca5cd82 (patch)
treee99af99da1dfd1ec95b254657409c9eb746a0e9c /src
parent06bd9ad88f452348a01575810fc372244285734b (diff)
downloadmpd-1379db379d2ac5ebb878c2323622513fdca5cd82.tar.gz
mpd-1379db379d2ac5ebb878c2323622513fdca5cd82.tar.xz
mpd-1379db379d2ac5ebb878c2323622513fdca5cd82.zip
player_thread: eliminated duplicate PLAYLIST event
player_wait_for_decoder() emits the PLAYLIST event on success, remove the duplicate PLAYLIST event in its caller.
Diffstat (limited to 'src')
-rw-r--r--src/player_thread.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/player_thread.c b/src/player_thread.c
index 3da6e1e54..50d9c1a94 100644
--- a/src/player_thread.c
+++ b/src/player_thread.c
@@ -494,8 +494,6 @@ static void do_play(void)
player.next_song_chunk = -1;
if (player_wait_for_decoder(&player) < 0)
return;
-
- event_pipe_emit(PIPE_EVENT_PLAYLIST);
} else if (decoder_is_idle()) {
break;
} else {