summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-10 15:23:27 +0200
committerwm4 <wm4@nowhere>2013-09-10 15:23:27 +0200
commit316dfb93d706b73d0129b6a5e1bed84d57c8cb2d (patch)
treef52cf201f019ea3ad868ff789232d3e80feed616 /stream
parentbf71e28d6bdbc127f62b3956a242316a049614af (diff)
downloadmpv-316dfb93d706b73d0129b6a5e1bed84d57c8cb2d.tar.bz2
mpv-316dfb93d706b73d0129b6a5e1bed84d57c8cb2d.tar.xz
stream: force demuxer of cached stream, fixes cdda:// + cache
Diffstat (limited to 'stream')
-rw-r--r--stream/stream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream.c b/stream/stream.c
index bf84850d75..eaf8e4dc51 100644
--- a/stream/stream.c
+++ b/stream/stream.c
@@ -795,6 +795,7 @@ static int stream_enable_cache(stream_t **stream, int64_t size, int64_t min,
cache->url = talloc_strdup(cache, orig->url);
cache->mime_type = talloc_strdup(cache, orig->mime_type);
+ cache->demuxer = talloc_strdup(cache, orig->demuxer);
cache->lavf_type = talloc_strdup(cache, orig->lavf_type);
cache->safe_origin = orig->safe_origin;
cache->opts = orig->opts;