Max Kellermann
|
1bd8a322f5
|
input/AsyncInputStream: set Error when seeking unseekable
Fixes crash in the "audiofile" decoder while logging the seek error.
|
2014-11-07 13:57:57 +01:00 |
|
Max Kellermann
|
181edf4b53
|
InputStream: make offset_type unsigned
|
2014-08-19 21:23:03 +02:00 |
|
Max Kellermann
|
d5fa2af353
|
input/async: use IsEOF() instead of !open for "ready" check
Checking "!open" did not work with the NFS plugin because that plugin
does not close the file automatically, unlike CURL.
|
2014-06-21 14:13:31 +02:00 |
|
Max Kellermann
|
a877926f08
|
Revert "AsyncInputStream: fix assertion failure in AppendToBuffer()"
This reverts commit 966c4244cb .
The commit was bad, because the bug was really in
NfsInputStream::DoRead(); see previous commit.
|
2014-06-21 14:07:15 +02:00 |
|
Max Kellermann
|
966c4244cb
|
AsyncInputStream: fix assertion failure in AppendToBuffer()
|
2014-06-17 03:21:11 +02:00 |
|
Max Kellermann
|
81283f8bcb
|
AsyncInputStream: reset "paused" when seeking
May cause assertion failure.
|
2014-06-17 03:20:49 +02:00 |
|
Max Kellermann
|
8b84e5b3f9
|
input/curl: hold mutex while writing to postponed_error
|
2014-06-17 02:32:17 +02:00 |
|
Max Kellermann
|
fb52a24da3
|
input/async: add offset/size comparison to IsEOF()
|
2014-05-24 15:19:22 +02:00 |
|
Max Kellermann
|
fbafb19657
|
input/curl: move code to AsyncInputStream
New base class for other InputStream implementations that run in the
I/O thread.
|
2014-05-24 14:36:28 +02:00 |
|