Fix thumbnails with movit enabled.

Fixes #543
parent 9e502871
Pipeline #13973 canceled with stage
......@@ -853,7 +853,7 @@ std::shared_ptr<Mlt::Producer> ProjectClip::cloneProducer(const std::shared_ptr<
std::shared_ptr<Mlt::Producer> ProjectClip::softClone(const char *list)
{
QString service = QString::fromLatin1(m_masterProducer->get("mlt_service"));
QString resource = QString::fromLatin1(m_masterProducer->get("resource"));
QString resource = QString::fromUtf8(m_masterProducer->get("resource"));
std::shared_ptr<Mlt::Producer> clone(new Mlt::Producer(*m_masterProducer->profile(), service.toUtf8().constData(), resource.toUtf8().constData()));
Mlt::Properties original(m_masterProducer->get_properties());
Mlt::Properties cloneProps(clone->get_properties());
......
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