X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Frenderer.cpp;h=22873c4dcb1f7b740c9a9c843e18b233c9a99957;hb=12c52e2d2e97f703714b83dfd385db2de5f03f18;hp=37316771e6fdefc5f71b9ccafc0a661ddf85b9fb;hpb=aa34cd9fc976d1f442b9c38b3d9cb14ca649cc27;p=kdenlive diff --git a/src/renderer.cpp b/src/renderer.cpp index 37316771..22873c4d 100644 --- a/src/renderer.cpp +++ b/src/renderer.cpp @@ -522,10 +522,12 @@ void Render::slotSplitView(bool doit) void Render::getFileProperties(const QDomElement xml, const QString &clipId, int imageHeight, bool replaceProducer) { - KUrl url = KUrl(xml.attribute("resource", QString())); + QString path; + if (KdenliveSettings::enableproxy() && xml.hasAttribute("proxy")) path = xml.attribute("proxy"); + else path = xml.attribute("resource"); + KUrl url = KUrl(path); Mlt::Producer *producer = NULL; CLIPTYPE type = (CLIPTYPE)xml.attribute("type").toInt(); - //kDebug() << "PROFILE WIDT: "<< xml.attribute("mlt_service") << ": "<< m_mltProfile->width() << "\n...................\n\n"; /*if (xml.attribute("type").toInt() == TEXT && !QFile::exists(url.path())) { emit replyGetFileProperties(clipId, producer, QMap < QString, QString >(), QMap < QString, QString >(), replaceProducer);