From: Jean-Baptiste Mardelle Date: Mon, 11 Feb 2013 22:53:41 +0000 (+0100) Subject: Fix Coverity #980712 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=0ef69cc8c8c540530d63cf2b20ec08fc6b6601ed;p=kdenlive Fix Coverity #980712 --- diff --git a/src/projecttree/meltjob.cpp b/src/projecttree/meltjob.cpp index 3261e554..5ef79396 100644 --- a/src/projecttree/meltjob.cpp +++ b/src/projecttree/meltjob.cpp @@ -110,9 +110,10 @@ void MeltJob::startJob() if (m_producer) m_length = m_producer->get_playtime(); } if (!m_producer || !m_producer->is_valid()) { - return; - m_errorMessage.append(i18n("Invalid clip")); + // Clip was removed or something went wrong, Notify user? + //m_errorMessage.append(i18n("Invalid clip")); setStatus(JOBCRASHED); + return; } if (m_extra.contains("producer_profile")) { m_profile->from_producer(*m_producer);