From: Jean-Baptiste Mardelle Date: Wed, 26 Dec 2012 16:45:47 +0000 (+0100) Subject: Fix display of proxy clip progress when using MLT with debug enabled X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=56cc4b662e44027d74be5d31c32b4eb2432fab99;p=kdenlive Fix display of proxy clip progress when using MLT with debug enabled --- diff --git a/src/projecttree/proxyclipjob.cpp b/src/projecttree/proxyclipjob.cpp index ccd04b33..dc228eb5 100644 --- a/src/projecttree/proxyclipjob.cpp +++ b/src/projecttree/proxyclipjob.cpp @@ -207,7 +207,7 @@ void ProxyJob::processLogInfo() else { // Parse MLT output if (log.contains("percentage:")) { - progress = log.section(':', -1).simplified().toInt(); + progress = log.section("percentage:", 1).simplified().section(' ', 0, 0).toInt(); emit jobProgress(m_clipId, progress, jobType); } }