From 04bdd7af72aa9ab5aa81e38ca85d3f40e76f16d4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 19 Nov 2013 22:26:35 +0100 Subject: timeline: add edl:// URIs Questionable change from user perspective, but internally needed to implement the next commit. Also useful for testing timeline stuff. --- demux/demux_edl.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'demux/demux_edl.c') 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")) -- cgit v1.2.3