• Max Kellermann's avatar
    player_thread: fix assertion failure due to wrong music pipe on seek · 83ec0e55
    Max Kellermann authored
    When one song is played twice, and the decoder is working on the
    second "instance", but the first should be seeked, the check in
    player_seek_decoder() may assume that it can reuse the decoder without
    exchanging pipes.  The last thing was the mistake: the pipe pointer
    was different, which led to an assertion failure.  This patch adds
    another check which exchanges the player pipe.
    83ec0e55
player_thread.c 20.7 KB