summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-10 15:23:27 +0200
committerwm4 <wm4@nowhere>2013-09-10 17:36:22 +0200
commit3959702a1d9bb85842996f57ad1badf8a6fa8ce2 (patch)
treeff99d96e29428c0ba939f3e632bb0a6acf4308a1
parent4826eb8dafe3802b0534bf97f99de2d906e94d52 (diff)
downloadmpv-3959702a1d9bb85842996f57ad1badf8a6fa8ce2.tar.bz2
mpv-3959702a1d9bb85842996f57ad1badf8a6fa8ce2.tar.xz
stream: force demuxer of cached stream, fixes cdda:// + cache
-rw-r--r--stream/stream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream.c b/stream/stream.c
index 45bc7997a1..b85d28b448 100644
--- a/stream/stream.c
+++ b/stream/stream.c
@@ -736,6 +736,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->opts = orig->opts;
cache->start_pos = orig->start_pos;