diff options
author | wm4 <wm4@nowhere> | 2017-02-05 15:51:36 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-02-05 15:51:36 +0100 |
commit | 92f9747c2bd28816824e8edfa503a65bc500f20c (patch) | |
tree | cfaf5d8696d1f63b3525b88d7c7f2826f17a067b /demux | |
parent | aaad2d847e60a5bbd8fbf9c89f100a9ef9abd008 (diff) |
demux_edl: fix behavior with no init segment provided
Not that we use it...
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux_edl.c | 6 |
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); |