Commit 1c3e3ba8 authored by Till Theato's avatar Till Theato
Browse files

Automatically crop tracks relative to project resolution if proxies are enabled for the project:

http://www.kdenlive.org/mantis/view.php?id=2056

svn path=/trunk/kdenlive/; revision=5543
parent 314b0fd9
......@@ -1397,6 +1397,12 @@ void KdenliveDoc::addTrackEffect(int ix, QDomElement effect)
//break;
}
}
if (effect.attribute("id") == "crop") {
// default use_profile to 1 for clips with proxies to avoid problems when rendering
if (e.attribute("name") == "use_profile" && getDocumentProperty("enableproxy") == "1")
e.setAttribute("value", "1");
}
}
m_tracksList[ix].effectsList.append(effect);
......
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