summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-23 14:57:50 +0100
committerwm4 <wm4@nowhere>2014-12-23 14:57:50 +0100
commit5640c195a9ebd206cf2a1556e59eb7cae35b8d03 (patch)
treee191f57bc0e219a66539951e3c6c94b1a93a841b
parent2ad1906be6e37ef2f656d1ffb1ffd7437dccd177 (diff)
downloadmpv-5640c195a9ebd206cf2a1556e59eb7cae35b8d03.tar.bz2
mpv-5640c195a9ebd206cf2a1556e59eb7cae35b8d03.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.
-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;
}