mirror of https://github.com/mpv-player/mpv
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.
This commit is contained in:
parent
2ad1906be6
commit
5640c195a9
|
@ -7,6 +7,7 @@ static int s_open (struct stream *stream)
|
||||||
{
|
{
|
||||||
stream->type = STREAMTYPE_EDL;
|
stream->type = STREAMTYPE_EDL;
|
||||||
stream->demuxer = "edl";
|
stream->demuxer = "edl";
|
||||||
|
stream->allow_caching = false;
|
||||||
|
|
||||||
return STREAM_OK;
|
return STREAM_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue