Commit c9725c13 authored by Vincent Pinon's avatar Vincent Pinon
Browse files

Fix OTIO imports (no kdenlive:id property)

parent 0658113c
Pipeline #18611 passed with stage
in 15 minutes and 29 seconds
......@@ -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
Supports Markdown
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