Commit 0cf922b2 authored by Max Kellermann's avatar Max Kellermann

input/buffering: clear read_error after successful seek

After seeking, a new read should be done.
parent 5e266cd8
...@@ -144,6 +144,7 @@ BufferingInputStream::RunThread() noexcept ...@@ -144,6 +144,7 @@ BufferingInputStream::RunThread() noexcept
idle = false; idle = false;
seek = false; seek = false;
read_error = {};
client_cond.notify_one(); client_cond.notify_one();
} else if (!idle && !read_error && } else if (!idle && !read_error &&
offset != input->GetOffset() && offset != input->GetOffset() &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment