kdenlive-mlt6.patch 1.1 KB

1234567891011121314151617181920212223
  1. diff --git a/src/mltconnection.cpp b/src/mltconnection.cpp
  2. index 13d0e8d8c..2820c8f7c 100644
  3. --- a/src/mltconnection.cpp
  4. +++ b/src/mltconnection.cpp
  5. @@ -136,14 +136,14 @@ void MltConnection::locateMeltAndProfilesPath(const QString &mltPath)
  6. #endif
  7. QString meltPath;
  8. if (qEnvironmentVariableIsSet("MLT_PREFIX")) {
  9. - meltPath = qgetenv("MLT_PREFIX") + QStringLiteral("/bin/melt") + exeSuffix;
  10. + meltPath = qgetenv("MLT_PREFIX") + QStringLiteral("/bin/melt6") + exeSuffix;
  11. } else {
  12. meltPath = KdenliveSettings::rendererpath();
  13. }
  14. if (!QFile::exists(meltPath)) {
  15. - meltPath = QDir::cleanPath(profilePath + QStringLiteral("/../../../bin/melt")) + exeSuffix;
  16. + meltPath = QDir::cleanPath(profilePath + QStringLiteral("/../../../bin/melt6")) + exeSuffix;
  17. if (!QFile::exists(meltPath)) {
  18. - meltPath = QStandardPaths::findExecutable("melt");
  19. + meltPath = QStandardPaths::findExecutable("melt6");
  20. if (meltPath.isEmpty()) {
  21. meltPath = QStandardPaths::findExecutable("mlt-melt");
  22. }