player_thread: eliminated duplicate PLAYLIST event

player_wait_for_decoder() emits the PLAYLIST event on success, remove
the duplicate PLAYLIST event in its caller.
This commit is contained in:
Max Kellermann 2009-01-20 23:11:01 +01:00
parent 06bd9ad88f
commit 1379db379d

View File

@ -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 {