summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-23 14:57:50 +0100
committerAlessandro Ghedini <alessandro@ghedini.me>2015-01-14 16:22:26 +0100
commit36a2dd5ace39decdeb112947cd138eef95a7f724 (patch)
treeea3f45ea8d076f81fee82e469137e976b46d9eab
parent6cec24e980faf06f11dc172647a8e9f964bb875d (diff)
downloadmpv-36a2dd5ace39decdeb112947cd138eef95a7f724.tar.bz2
mpv-36a2dd5ace39decdeb112947cd138eef95a7f724.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;
}