]> git.sesse.net Git - kdenlive/blobdiff - src/projecttree/proxyclipjob.cpp
Fix display of proxy clip progress when using MLT with debug enabled
[kdenlive] / src / projecttree / proxyclipjob.cpp
index ccd04b338fda9767f0165b01c418153812f305b0..dc228eb59bb2637d32f862edab340ff7fbc18258 100644 (file)
@@ -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);
         }
     }