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

Switch track compositing to frei0r.cairoblend by default instead of qtblend.

Slightly slower but fixes scaling issues like #1216
parent 499f5e0e
Pipeline #88942 passed with stage
in 8 minutes and 37 seconds
......@@ -2218,10 +2218,10 @@ bool DocumentValidator::checkMovit()
bool hasWB = EffectsRepository::get()->exists(QStringLiteral("frei0r.colgate"));
bool hasBlur = EffectsRepository::get()->exists(QStringLiteral("frei0r.IIRblur"));
QString compositeTrans;
if (TransitionsRepository::get()->exists(QStringLiteral("qtblend"))) {
compositeTrans = QStringLiteral("qtblend");
} else if (TransitionsRepository::get()->exists(QStringLiteral("frei0r.cairoblend"))) {
if (TransitionsRepository::get()->exists(QStringLiteral("frei0r.cairoblend"))) {
compositeTrans = QStringLiteral("frei0r.cairoblend");
} else if (TransitionsRepository::get()->exists(QStringLiteral("qtblend"))) {
compositeTrans = QStringLiteral("qtblend");
}
// Parse all effects in document
......
......@@ -158,12 +158,12 @@ const QString TransitionsRepository::getCompositingTransition()
if (KdenliveSettings::gpu_accel()) {
return QStringLiteral("movit.overlay");
}
if (exists(QStringLiteral("qtblend"))) {
return QStringLiteral("qtblend");
}
if (exists(QStringLiteral("frei0r.cairoblend"))) {
return QStringLiteral("frei0r.cairoblend");
}
if (exists(QStringLiteral("qtblend"))) {
return QStringLiteral("qtblend");
}
if (exists(QStringLiteral("composite"))) {
return QStringLiteral("composite");
}
......
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