Commit 1379db37 authored by Max Kellermann's avatar Max Kellermann

player_thread: eliminated duplicate PLAYLIST event

player_wait_for_decoder() emits the PLAYLIST event on success, remove the duplicate PLAYLIST event in its caller.
parent 06bd9ad8
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment