summaryrefslogtreecommitdiffstats
path: root/stream/stream_edl.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-23 14:57:50 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-01-25 17:00:14 +0900
commitb7061982079f33217e3d44f10d9892257f47c7ca (patch)
treef61b90e1657e3790f86d2fc6d1bffed045cfddf6 /stream/stream_edl.c
parente213e20c2db49ba00d1977d0ab69312422789b2e (diff)
downloadmpv-b7061982079f33217e3d44f10d9892257f47c7ca.tar.bz2
mpv-b7061982079f33217e3d44f10d9892257f47c7ca.tar.xz
stream_edl: disable caching
stream_edl merely makes demux_edl act "special", which checks for the stream type explicitly and then does something with its URL. If a cache is added before the stream, it'll try to use the cache's URL (i.e. an empty string), and will then obviously fail to parse the URL. While this is slightly stupid, just disabling the entirely useless cache is the most effective solution. Fixes #1378.
Diffstat (limited to 'stream/stream_edl.c')
-rw-r--r--stream/stream_edl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream_edl.c b/stream/stream_edl.c
index 4873047cc2..c74aabf257 100644
--- a/stream/stream_edl.c
+++ b/stream/stream_edl.c
@@ -7,6 +7,7 @@ static int s_open (struct stream *stream)
{
stream->type = STREAMTYPE_EDL;
stream->demuxer = "edl";
+ stream->allow_caching = false;
return STREAM_OK;
}