aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/AsyncInputStream.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v0.19.x'Max Kellermann2015-01-061-0/+5
|\
| * input/async: reset the "open" flag after seeking successfullyMax Kellermann2015-01-061-0/+5
| | | | | | | | | | | | | | | | | | Fixes a problem with the "curl" input plugin: IsEOF() always returns true because the "open" flag was cleared by CurlInputStream::RequestDone() when end-of-stream was reached. This flag stays false even when seeking to another position has succeeded. This patch resets the "open" flag to true after seeking successfully.
* | Copyright year 2015Max Kellermann2015-01-011-1/+1
|/
* input/AsyncInputStream: set Error when seeking unseekableMax Kellermann2014-11-071-1/+4
| | | | Fixes crash in the "audiofile" decoder while logging the seek error.
* InputStream: make offset_type unsignedMax Kellermann2014-08-191-3/+0
|
* input/async: use IsEOF() instead of !open for "ready" checkMax Kellermann2014-06-211-2/+3
| | | | | Checking "!open" did not work with the NFS plugin because that plugin does not close the file automatically, unlike CURL.
* Revert "AsyncInputStream: fix assertion failure in AppendToBuffer()"Max Kellermann2014-06-211-6/+4
| | | | | | | This reverts commit 966c4244cbe0de174df1e72e917078269ec9dbb9. The commit was bad, because the bug was really in NfsInputStream::DoRead(); see previous commit.
* AsyncInputStream: fix assertion failure in AppendToBuffer()Max Kellermann2014-06-171-4/+6
|
* AsyncInputStream: reset "paused" when seekingMax Kellermann2014-06-171-0/+1
| | | | May cause assertion failure.
* input/curl: hold mutex while writing to postponed_errorMax Kellermann2014-06-171-0/+10
|
* input/async: add offset/size comparison to IsEOF()Max Kellermann2014-05-241-1/+2
|
* input/curl: move code to AsyncInputStreamMax Kellermann2014-05-241-0/+239
New base class for other InputStream implementations that run in the I/O thread.