player/Thread: never reuse decoder when switching radio streams

When switching to another song manually, the player checks if the
decoder is already decoding that song; if so, it will attempt to reuse
it by seeking it to the new position.  That however fails if the
decoder is not seekable (e.g. a radio stream) which leaves the user
unable to switch to that song with the bogus error message "Not
seekable".
This commit is contained in:
Max Kellermann
2018-04-25 21:19:26 +02:00
parent a2340c313f
commit 44b200240f
3 changed files with 10 additions and 3 deletions

2
NEWS
View File

@@ -3,6 +3,8 @@ ver 0.20.19 (not yet released)
- validate absolute seek time, reject negative values
* input
- mms: fix lockup bug and a crash bug
* player
- fix spurious "Not seekable" error when switching radio streams
* macOS: fix crash bug
ver 0.20.18 (2018/02/24)