diff options
author | wm4 <wm4@nowhere> | 2014-08-30 19:05:57 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-30 19:05:57 +0200 |
commit | b7fa9818999a65d4640deebda9a93823951e6ccd (patch) | |
tree | bc7765f4035fec896bc00d018755ec2a3cee89cc | |
parent | 98ef68bdfd3696ff0db3792377392037d05257ae (diff) | |
download | mpv-b7fa9818999a65d4640deebda9a93823951e6ccd.tar.bz2 mpv-b7fa9818999a65d4640deebda9a93823951e6ccd.tar.xz |
stream: correctly propagate uncached stream type
This makes the ordered chapter code not think that a stream from the
local filesystem is not a local file (it checks uncached_type).
-rw-r--r-- | stream/stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream.c b/stream/stream.c index 78859bc44f..cfb3cb6c82 100644 --- a/stream/stream.c +++ b/stream/stream.c @@ -769,7 +769,7 @@ stream_t *open_memory_stream(void *data, int len) static stream_t *open_cache(stream_t *orig, const char *name) { stream_t *cache = new_stream(); - cache->uncached_type = orig->type; + cache->uncached_type = orig->uncached_type; cache->uncached_stream = orig; cache->seekable = true; cache->mode = STREAM_READ; |