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:
wm4 2014-12-23 14:57:50 +01:00
parent 2ad1906be6
commit 5640c195a9
1 changed files with 1 additions and 0 deletions

View File

@ -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;
} }