Commit 01207af8 authored by Vincent Pinon's avatar Vincent Pinon
Browse files

Fix OTIO imports (no kdenlive:id property)

parent 35668565
......@@ -1005,6 +1005,7 @@ void ProjectItemModel::loadBinPlaylist(Mlt::Tractor *documentTractor, Mlt::Tract
}
std::shared_ptr<Mlt::Producer> producer(new Mlt::Producer(prod->parent()));
int id = producer->get_int("kdenlive:id");
if (!id) id = getFreeClipId();
binProducers.insert(id, producer);
}
// Do the real insertion
......
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