diff options
author | Max Kellermann <max@musicpd.org> | 2019-05-20 15:22:34 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-05-20 16:22:01 +0200 |
commit | 923e66738cb89590c3b83a853e3ece9964ffc56b (patch) | |
tree | 727f2967db761d9d381f57f4c407f4fd14f01424 /NEWS | |
parent | ff3e2c05142c94efadee00812ec348c15f1be1ba (diff) |
player/Thread: fix "single" mode race condition
If the decoder finishes decoding the current song between the two
IsIdle() checks, MPD stops playback instead of starting the decoder
for the next song.
This is usually not visible problem, because the main thread restarts
it via playlist::ResumePlayback(), but that way it, ignores "single"
mode.
As a workaround, this commit adds another "queued" check which
re-enters the player loop and checks again whether to start the
decoder.
Closes https://github.com/MusicPlayerDaemon/MPD/issues/556
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4,6 +4,7 @@ ver 0.21.9 (not yet released) * Android - fix crash on ARMv7 - request storage permission on Android 6+ +* fix spurious "single" mode bug ver 0.21.8 (2019/04/23) * input |