Try to fix render resize crash with Movit

CCBUG: 355398
parent dfa63991
...@@ -1141,7 +1141,7 @@ void RenderWidget::slotExport(bool scriptExport, int zoneIn, int zoneOut, ...@@ -1141,7 +1141,7 @@ void RenderWidget::slotExport(bool scriptExport, int zoneIn, int zoneOut,
sEngine.globalObject().setProperty(paramName.toUtf8().constData(), paramValue); sEngine.globalObject().setProperty(paramName.toUtf8().constData(), paramValue);
} }
if (resizeProfile) if (resizeProfile && !KdenliveSettings::gpu_accel())
render_process_args << "consumer:" + (scriptExport ? "$SOURCE_" + QString::number(stemIdx) : playlistPaths.at(stemIdx)); render_process_args << "consumer:" + (scriptExport ? "$SOURCE_" + QString::number(stemIdx) : playlistPaths.at(stemIdx));
else else
render_process_args << (scriptExport ? "$SOURCE_" + QString::number(stemIdx) : playlistPaths.at(stemIdx)); render_process_args << (scriptExport ? "$SOURCE_" + QString::number(stemIdx) : playlistPaths.at(stemIdx));
......
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