From: Jean-Baptiste M. <jb...@kd...> - 2015-08-30 19:21:05
|
Git commit ed5cdd9953970ec3ec72c61db9ef06f150eb2c86 by Jean-Baptiste Mardelle. Committed on 30/08/2015 at 19:07. Pushed by mardelle into branch 'master'. Inform user when a melt process failed (still need a patch to mlt) M +2 -2 renderer/renderjob.cpp http://commits.kde.org/kdenlive/ed5cdd9953970ec3ec72c61db9ef06f150eb2c86 diff --git a/renderer/renderjob.cpp b/renderer/renderjob.cpp index 5ae9430..78abab7 100644 --- a/renderer/renderjob.cpp +++ b/renderer/renderjob.cpp @@ -190,7 +190,7 @@ void RenderJob::start() } } initKdenliveDbusInterface(); - + // Make sure the destination file is writable QFile checkDestination(m_dest); if (!checkDestination.open(QIODevice::WriteOnly)) { @@ -262,7 +262,7 @@ void RenderJob::slotIsOver(QProcess::ExitStatus status, bool isWritable) qApp->quit(); } if (m_erase) QFile(m_scenelist).remove(); - if (status == QProcess::CrashExit || m_renderProcess->error() != QProcess::UnknownError) { + if (status == QProcess::CrashExit || m_renderProcess->error() != QProcess::UnknownError || m_renderProcess->exitCode() != 0) { // rendering crashed if (m_kdenliveinterface) { m_dbusargs[1] = (int) - 2; |