Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | input/async: reset the "open" flag after seeking successfully | Max Kellermann | 2015-01-06 | 1 | -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. | ||||
* | input/AsyncInputStream: set Error when seeking unseekable | Max Kellermann | 2014-11-07 | 1 | -1/+4 |
| | | | | Fixes crash in the "audiofile" decoder while logging the seek error. | ||||
* | InputStream: make offset_type unsigned | Max Kellermann | 2014-08-19 | 1 | -3/+0 |
| | |||||
* | input/async: use IsEOF() instead of !open for "ready" check | Max Kellermann | 2014-06-21 | 1 | -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 Kellermann | 2014-06-21 | 1 | -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 Kellermann | 2014-06-17 | 1 | -4/+6 |
| | |||||
* | AsyncInputStream: reset "paused" when seeking | Max Kellermann | 2014-06-17 | 1 | -0/+1 |
| | | | | May cause assertion failure. | ||||
* | input/curl: hold mutex while writing to postponed_error | Max Kellermann | 2014-06-17 | 1 | -0/+10 |
| | |||||
* | input/async: add offset/size comparison to IsEOF() | Max Kellermann | 2014-05-24 | 1 | -1/+2 |
| | |||||
* | input/curl: move code to AsyncInputStream | Max Kellermann | 2014-05-24 | 1 | -0/+239 |
New base class for other InputStream implementations that run in the I/O thread. |