mirror of
https://invent.kde.org/multimedia/kdenlive
synced 2025-12-05 15:59:59 +01:00
Fix render crash on Windows (reported as libxml2)
This commit is contained in:
@@ -48,9 +48,9 @@ RenderJob::RenderJob(const QString &render, const QString &scenelist, const QStr
|
|||||||
// Disable VDPAU so that rendering will work even if there is a Kdenlive instance using VDPAU
|
// Disable VDPAU so that rendering will work even if there is a Kdenlive instance using VDPAU
|
||||||
qputenv("MLT_NO_VDPAU", "1");
|
qputenv("MLT_NO_VDPAU", "1");
|
||||||
if (debugMode) {
|
if (debugMode) {
|
||||||
m_args = {QStringLiteral("-loglevel"), QStringLiteral("debug"), QStringLiteral("-progress2"), scenelist};
|
m_args = {QStringLiteral("-loglevel"), QStringLiteral("debug"), QStringLiteral("-progress2"), QUrl::toPercentEncoding(scenelist)};
|
||||||
} else {
|
} else {
|
||||||
m_args = {QStringLiteral("-loglevel"), QStringLiteral("error"), QStringLiteral("-progress2"), scenelist};
|
m_args = {QStringLiteral("-loglevel"), QStringLiteral("error"), QStringLiteral("-progress2"), QUrl::toPercentEncoding(scenelist)};
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create a log of every render process.
|
// Create a log of every render process.
|
||||||
|
|||||||
Reference in New Issue
Block a user