Commit 72f5af59 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix timeremap clip always using proxies on rendering.

BUG: 454089
parent 76ca027b
Pipeline #182373 passed with stage
in 9 minutes and 19 seconds
......@@ -1840,8 +1840,15 @@ void KdenliveDoc::useOriginals(QDomDocument &doc)
// replace proxy clips with originals
QMap<QString, QString> proxies = pCore->projectItemModel()->getProxies(root);
QDomNodeList producers = doc.elementsByTagName(QStringLiteral("producer"));
QDomNodeList chains = doc.elementsByTagName(QStringLiteral("chain"));
processProxyNodes(producers, root, proxies);
processProxyNodes(chains, root, proxies);
}
void KdenliveDoc::processProxyNodes(QDomNodeList producers, const QString &root, const QMap<QString, QString> &proxies)
{
QString producerResource;
QString producerService;
QString originalProducerService;
......
......@@ -173,6 +173,7 @@ public:
double getDocumentVersion() const;
/** @brief Replace proxy clips with originals for rendering. */
void useOriginals(QDomDocument &doc);
void processProxyNodes(QDomNodeList producers, const QString &root, const QMap<QString, QString> &proxies);
private:
QUrl m_url;
......
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