diff options
author | Max Kellermann <max@musicpd.org> | 2019-05-16 22:05:25 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-05-16 22:05:25 +0200 |
commit | 63fe4d1d179eb7095d82a5d0cb2c2379faf0455f (patch) | |
tree | 3c5079e01d71a160627ecdbc88b9d2a256d09e5d /src | |
parent | ca06d9d3bf448066c8bb1795ae9a780a18036659 (diff) |
input/buffered: wake up client thread on seek error
Diffstat (limited to 'src')
-rw-r--r-- | src/input/BufferedInputStream.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input/BufferedInputStream.cxx b/src/input/BufferedInputStream.cxx index 7ac4f0a2c..69fb0c064 100644 --- a/src/input/BufferedInputStream.cxx +++ b/src/input/BufferedInputStream.cxx @@ -187,6 +187,8 @@ BufferedInputStream::RunThread() noexcept own InputStream interface) is in "read" mode */ read_error = std::current_exception(); + client_cond.signal(); + InvokeOnAvailable(); } } else if (!idle && !read_error && input->IsAvailable() && !input->IsEOF()) { |