Fix progress reporting when repeating frames.l
authorCarl Hetherington <cth@carlh.net>
Tue, 30 Jun 2015 23:36:50 +0000 (00:36 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 30 Jun 2015 23:36:50 +0000 (00:36 +0100)
src/lib/writer.cc

index e911c37201ab5204e97e827c2b88cda46a5ed5d7..ff6e4f63cba6b0caf44d81030d64d816b55c2a97 100644 (file)
@@ -404,7 +404,7 @@ try
                                total *= 2;
                        }
                        if (total) {
-                               job->set_progress (float (_full_written + _fake_written) / total);
+                               job->set_progress (float (_full_written + _fake_written + _repeat_written) / total);
                        }
                }