Commit 3a87c8b4 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix playlist proxies broken

Fixes #926
parent b5f06b30
Pipeline #48677 passed with stage
in 10 minutes and 53 seconds
...@@ -272,6 +272,11 @@ bool LoadJob::startJob() ...@@ -272,6 +272,11 @@ bool LoadJob::startJob()
if (type == ClipType::Unknown) { if (type == ClipType::Unknown) {
type = getTypeForService(service, m_resource); type = getTypeForService(service, m_resource);
} }
if (type == ClipType::Playlist && Xml::getXmlProperty(m_xml, QStringLiteral("kdenlive:proxy")).length() > 2) {
// If this is a proxied playlist, load as AV
type = ClipType::AV;
service.clear();
}
switch (type) { switch (type) {
case ClipType::Color: case ClipType::Color:
m_producer = loadResource(m_resource, QStringLiteral("color:")); m_producer = loadResource(m_resource, QStringLiteral("color:"));
......
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