summaryrefslogtreecommitdiffstats
path: root/demux/demux_edl.c
diff options
context:
space:
mode:
Diffstat (limited to 'demux/demux_edl.c')
-rw-r--r--demux/demux_edl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/demux/demux_edl.c b/demux/demux_edl.c
index 655af8b0e0..6e1af373ee 100644
--- a/demux/demux_edl.c
+++ b/demux/demux_edl.c
@@ -429,6 +429,9 @@ static struct timeline_par *build_timeline(struct timeline *root,
tl->num_parts++;
}
+ if (tl->no_clip && tl->num_parts > 1)
+ MP_WARN(root, "Multiple parts with no_clip. Undefined behavior ahead.\n");
+
if (!tl->track_layout) {
// Use a heuristic to select the "broadest" part as layout.
for (int n = 0; n < parts->num_parts; n++) {