• Max Kellermann's avatar
    player/Thread: don't restart unseekable song after failed seek attempt · f2d8fd76
    Max Kellermann authored
    The check IsSeekableCurrentSong() was added by commit
    44b20024 in version 0.20.19, but it
    caused a regression: by doing the branch only if the current song is
    seekable, the player would restart the current song if it was not
    seekable, and later the initial seek would fail; but we already know
    it's not seekable, and so we should fail early.
    f2d8fd76
Thread.cxx 27.6 KB