stream: force demuxer of cached stream, fixes cdda:// + cache

This commit is contained in:
wm4 2013-09-10 15:23:27 +02:00
parent bf71e28d6b
commit 316dfb93d7
1 changed files with 1 additions and 0 deletions

View File

@ -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->url = talloc_strdup(cache, orig->url);
cache->mime_type = talloc_strdup(cache, orig->mime_type); 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->lavf_type = talloc_strdup(cache, orig->lavf_type);
cache->safe_origin = orig->safe_origin; cache->safe_origin = orig->safe_origin;
cache->opts = orig->opts; cache->opts = orig->opts;