diff options
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux_edl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/demux/demux_edl.c b/demux/demux_edl.c index dd6c660f74..62103d67d2 100644 --- a/demux/demux_edl.c +++ b/demux/demux_edl.c @@ -34,6 +34,10 @@ static bool test_header(struct stream *s, char *header) static int try_open_file(struct demuxer *demuxer, enum demux_check check) { struct stream *s = demuxer->stream; + if (s->uncached_type == STREAMTYPE_EDL) { + demuxer->file_contents = bstr0(s->url); + return 0; + } if (check >= DEMUX_CHECK_UNSAFE) { if (!test_header(s, "mplayer EDL file") && !test_header(s, "mpv EDL v0\n")) |