diff options
author | wm4 <wm4@nowhere> | 2014-06-05 00:19:50 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-06-05 00:19:50 +0200 |
commit | e82af029a9f5fa02c581de5a7c6654696f38c87d (patch) | |
tree | f9dd8cc161b416426f34df8ef246210c9339125d /input/lirc.h | |
parent | 99e498611e128dd894b7d943abadaa1b9c0ead45 (diff) | |
download | mpv-e82af029a9f5fa02c581de5a7c6654696f38c87d.tar.bz2 mpv-e82af029a9f5fa02c581de5a7c6654696f38c87d.tar.xz |
stream/cache: handle failure of seeking underlying stream
This could for example happen when serving an incomplete file from http,
and the demuxer tries reading data from the end of the file when opening
it (e.g. with avi). Seeking past EOF fails with http, so the file could
never be opened, and the cache would get stuck trying to seek to the
position.
We can't really make the cache report seek failure directly (it would
suck for various reasons), so just make the cache report EOF if seeking
fails.
Diffstat (limited to 'input/lirc.h')
0 files changed, 0 insertions, 0 deletions