]> git.sesse.net Git - kdenlive/blobdiff - src/renderer.cpp
Title clips now really usable (only transparency & duration change still missing)
[kdenlive] / src / renderer.cpp
index 8ecfc69d229a5d957e9aafeead92a9b7b3d082be..0e53393aa79c147f04381791b0a10e677a147356 100644 (file)
@@ -373,7 +373,7 @@ bool Render::isValid(KUrl url) {
 
 void Render::getFileProperties(const QDomElement &xml, int clipId) {
     int height = 40;
-    int width = (int)(height * 16 / 9.0);   //KdenliveSettings::displayratio();
+    int width = (int)(height  * m_mltProfile->dar());
     QDomDocument doc;
     QDomElement westley = doc.createElement("westley");
     doc.appendChild(westley);