From: Till Theato Date: Sat, 18 Dec 2010 14:34:39 +0000 (+0000) Subject: If exporting to script: Use variables for the location of the playlist and the destin... X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=b691c7f8faddc1d7f2bf6acdba5cee879e810548;p=kdenlive If exporting to script: Use variables for the location of the playlist and the destination svn path=/trunk/kdenlive/; revision=5181 --- diff --git a/src/renderwidget.cpp b/src/renderwidget.cpp index db4f1046..95a989dd 100644 --- a/src/renderwidget.cpp +++ b/src/renderwidget.cpp @@ -779,9 +779,11 @@ 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; + if (resizeProfile) + render_process_args << "consumer:" + (scriptExport ? "$SOURCE" : playlistPath); + else + render_process_args << (scriptExport ? "$SOURCE" : playlistPath); + render_process_args << (scriptExport ? "$TARGET" : dest); render_process_args << paramsList; QString group = m_view.size_list->currentItem()->data(MetaGroupRole).toString();