aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--demux/demux_edl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/demux/demux_edl.c b/demux/demux_edl.c
index fad73f7644..8b6f402b27 100644
--- a/demux/demux_edl.c
+++ b/demux/demux_edl.c
@@ -264,6 +264,12 @@ static void build_timeline(struct timeline *tl, struct tl_parts *parts)
if (part->offset_set)
MP_WARN(tl, "Offsets are ignored.\n");
tl->demuxer->is_network = true;
+
+ if (!tl->track_layout) {
+ source = open_source(tl, part->filename);
+ if (!source)
+ goto error;
+ }
} else {
MP_VERBOSE(tl, "Opening segment %d...\n", n);