]> git.sesse.net Git - kdenlive/commitdiff
Fix breakage of render parameters:
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 23 Jun 2009 17:02:34 +0000 (17:02 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 23 Jun 2009 17:02:34 +0000 (17:02 +0000)
http://kdenlive.org/mantis/view.php?id=948

svn path=/trunk/kdenlive/; revision=3626

src/renderwidget.cpp

index 31dc35f869f68ee5da4a9dc28333718b3dcccf62..020d06e4c4c91de19d81fe098beb43810719e070 100644 (file)
@@ -682,7 +682,7 @@ void RenderWidget::slotExport(bool scriptExport, int zoneIn, int zoneOut, const
         renderArgs.append(subsize);
     }
     bool resizeProfile = (subsize != currentSize);
-    QStringList paramsList = renderArgs.split(" ");
+    QStringList paramsList = renderArgs.split(" ", QString::SkipEmptyParts);
     for (int i = 0; i < paramsList.count(); i++) {
         if (paramsList.at(i).startsWith("profile=")) {
             if (paramsList.at(i).section('=', 1) != m_profile.path) resizeProfile = true;
@@ -693,7 +693,7 @@ void RenderWidget::slotExport(bool scriptExport, int zoneIn, int zoneOut, const
     if (resizeProfile) render_process_args << "consumer:" + playlistPath;
     else render_process_args << playlistPath;
     render_process_args << dest;
-    render_process_args << renderArgs;
+    render_process_args << paramsList;
 
     QString group = m_view.size_list->currentItem()->data(MetaGroupRole).toString();