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

Fix encoding problem in renderer:

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

svn path=/trunk/kdenlive/; revision=5568
parent 7e1ced8c
......@@ -59,7 +59,8 @@ int main(int argc, char **argv)
QString rendermodule = args.takeFirst();
QString player = args.takeFirst();
QString src = args.takeFirst();
QString dest = QUrl(args.takeFirst()).path();
QUrl desturl = QUrl::fromEncoded(args.takeFirst().toUtf8());
QString dest = desturl.path();
bool dualpass = false;
bool doerase;
if (args.contains("pass=2")) {
......
......@@ -800,16 +800,11 @@ void RenderWidget::slotExport(bool scriptExport, int zoneIn, int zoneOut, const
render_process_args << "consumer:" + (scriptExport ? "$SOURCE" : playlistPath);
else
render_process_args << (scriptExport ? "$SOURCE" : playlistPath);
render_process_args << (scriptExport ? "$TARGET" : dest);
render_process_args << (scriptExport ? "$TARGET" : KUrl(dest).url());
render_process_args << paramsList;
QString group = m_view.size_list->currentItem()->data(MetaGroupRole).toString();
QStringList renderParameters;
renderParameters << dest << item->data(RenderRole).toString() << renderArgs.simplified();
renderParameters << QString::number(zoneIn) << QString::number(zoneOut) << QString::number(m_view.play_after->isChecked());
renderParameters << QString::number(guideStart) << QString::number(guideEnd) << QString::number(resizeProfile);
QString scriptName;
if (scriptExport) {
// Generate script file
......@@ -838,7 +833,6 @@ void RenderWidget::slotExport(bool scriptExport, int zoneIn, int zoneOut, const
m_view.tabWidget->setCurrentIndex(2);
return;
}
renderParameters << scriptName;
// Save rendering profile to document
QMap <QString, QString> renderProps;
......
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