projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e018270
)
Fix progress reporting when repeating frames.l
author
Carl Hetherington
<cth@carlh.net>
Tue, 30 Jun 2015 23:36:50 +0000
(
00:36
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 30 Jun 2015 23:36:50 +0000
(
00:36
+0100)
src/lib/writer.cc
patch
|
blob
|
history
diff --git
a/src/lib/writer.cc
b/src/lib/writer.cc
index e911c37201ab5204e97e827c2b88cda46a5ed5d7..ff6e4f63cba6b0caf44d81030d64d816b55c2a97 100644
(file)
--- a/
src/lib/writer.cc
+++ b/
src/lib/writer.cc
@@
-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);
}
}