• Max Kellermann's avatar
    player: don't queue song when there are 2 songs in the pipe · eb199ca2
    Max Kellermann authored
    Don't send a "next song" request to the main thread when the current
    song hasn't started playing yet, i.e. there are already two different
    songs in the music pipe.  This would erase information about the song
    boundary within the music pipe, and thus triggered an assertion
    failure.  The bug could occur when playing very short songs which fit
    into the pipe as a whole.
    eb199ca2
player_thread.c 12.7 KB