]> git.sesse.net Git - kdenlive/commitdiff
fix bug, not using proxy clips, on system installation.
authorMarco Gittler <marco@gitma.de>
Mon, 16 May 2011 18:35:16 +0000 (18:35 +0000)
committerMarco Gittler <marco@gitma.de>
Mon, 16 May 2011 18:35:16 +0000 (18:35 +0000)
local development version worked, but if installed in system the "root"
path was not prepended

svn path=/trunk/kdenlive/; revision=5591

src/mainwindow.cpp

index 6307d8baca892418bdc32fb64262e1e24b329951..65a39cd5dec2f76dcf5d85281a341cbaed4a0bc2 100644 (file)
@@ -3849,6 +3849,9 @@ void MainWindow::slotPrepareRendering(bool scriptExport, bool zoneOnly, const QS
         for (uint n = 0; n < producers.length(); n++) {
             QDomElement e = producers.item(n).toElement();
             producerResource = EffectsList::property(e, "resource");
+            if (!producerResource.startsWith("/") && !producerResource.isEmpty() ){
+                producerResource=root+"/"+producerResource;
+            }
             if (producerResource.contains('?')) {
                 suffix = "?" + producerResource.section('?', 1);
                 producerResource = producerResource.section('?', 0, 0);