diff --git a/NEWS b/NEWS index 82e0d55e5..340a35741 100644 --- a/NEWS +++ b/NEWS @@ -12,6 +12,7 @@ ver 0.21.26 (not yet released) - ffmpeg: remove "rtsp://" from the list of supported protocols - ffmpeg: add "hls+http://" to the list of supported protocols - sndfile: fix lost samples at end of file +* fix "single" mode bug after resuming playback * the default log_level is "default", not "info" ver 0.21.25 (2020/07/06) diff --git a/src/player/Thread.cxx b/src/player/Thread.cxx index 9f3fe23a1..6c7bab00d 100644 --- a/src/player/Thread.cxx +++ b/src/player/Thread.cxx @@ -681,6 +681,12 @@ Player::SeekDecoder() noexcept /* re-fill the buffer after seeking */ buffering = true; + { + /* call syncPlaylistWithQueue() in the main thread */ + const ScopeUnlock unlock(pc.mutex); + pc.listener.OnPlayerSync(); + } + return true; }