demux_edl: fix behavior with no init segment provided

Not that we use it...
This commit is contained in:
wm4 2017-02-05 15:51:36 +01:00
parent aaad2d847e
commit 92f9747c2b
1 changed files with 6 additions and 0 deletions

View File

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