• Max Kellermann's avatar
    player_thread: reset pc.next_song only if queued · 799d1c9d
    Max Kellermann authored
    When we reset pc.next_song if there is no song queued, this might
    cause a race condition: the next song to be played is cleared, while
    pc.command was already set.  Clear the "next_song" only if there is a
    song queued for the current do_play() invocation.
    799d1c9d
player_thread.c 13.2 KB