• Max Kellermann's avatar
    player: don't clear command before do_play() returns · ee499cb4
    Max Kellermann authored
    This bug caused the audio output devices to stay open, although MPD
    wasn't playing: quitDecode() resetted player_control.command, assuming
    that the command was STOP.  This way, player_task() didn't see the
    CLOSE_AUDIO command, and the device was kept open.
    
    Don't clear player_control.command in quitDecode().
    ee499cb4
player_thread.c 11.5 KB