Fix crash opening project with slowmo clip

parent a20ee0e7
......@@ -208,6 +208,9 @@ bool constructTrackFromMelt(const std::shared_ptr<TimelineItemModel> &timeline,
if (clipId.startsWith(QStringLiteral("slowmotion"))) {
clipId = clipId.section(QLatin1Char(':'), 1, 1);
}
if (clipId.isEmpty()) {
clipId = clip->get("kdenlive:id");
}
Q_ASSERT(binIdCorresp.count(clipId) > 0);
binId = binIdCorresp.at(clipId);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment