Apparently there are some scripts that use nested edls instead of flattening them first, so let's live with this. This reverts commit de42e11662f3f002033b28876b6a03e0313ba8a9.
Unified · Split
| @@ -1 +0,0 @@ | |||
| 1 | nested edl are no longer supported; flatten the edl or use a playlist with multiple edl entries | ||
| @@ -451,10 +451,6 @@ static struct timeline_par *build_timeline(struct timeline *root, · 450 unmodified lines | |||
| 451 | struct tl_part *part = &parts->parts[n]; | 451 | struct tl_part *part = &parts->parts[n]; |
| 452 | struct demuxer *source = NULL; | 452 | struct demuxer *source = NULL; |
| 453 | 453 | ||
| 454 | if (!bstrcasecmp0(mp_split_proto(bstr0(part->filename), NULL), "edl")) { | ||
| 455 | MP_ERR(root, "Nested EDL is not allowed.\n"); | ||
| 456 | goto error; | ||
| 457 | } | ||
| 458 | if (tl->dash) { | 454 | if (tl->dash) { |
| 459 | part->offset = starttime; | 455 | part->offset = starttime; |
| 460 | if (part->length <= 0) | 456 | if (part->length <= 0) |