Fix timeline clips created with wrong id

parent ba22eca8
......@@ -42,7 +42,7 @@ ClipModel::ClipModel(std::shared_ptr<TimelineModel> parent, std::shared_ptr<Mlt:
, m_binClipId(binClipId)
m_producer->set("kdenlive:id", binClipId.toUtf8().constData());
m_producer->set("_kdenlive_cid", id);
m_producer->set("_kdenlive_cid", getId());
std::shared_ptr<ProjectClip> binClip = pCore->projectItemModel()->getClipByBinID(m_binClipId);
if (binClip) {
m_endlessResize = !binClip->hasLimitedDuration();
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