summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewGenerator.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-04-30 16:17:06 +0000
committerritsuka <[email protected]>2015-04-30 16:17:06 +0000
commit679a54225522bf7036da415d7216d009e6d684b1 (patch)
treeffbdc37af0076064fa137a9a03d9b2de2be9ea49 /macosx/HBPreviewGenerator.m
parent96bf5cafd9e7891d2ad5741543e6e1e76ae52f77 (diff)
MacGui: fix scan progress bar.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7135 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPreviewGenerator.m')
-rw-r--r--macosx/HBPreviewGenerator.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBPreviewGenerator.m b/macosx/HBPreviewGenerator.m
index 6719b54d2..345c574c8 100644
--- a/macosx/HBPreviewGenerator.m
+++ b/macosx/HBPreviewGenerator.m
@@ -188,7 +188,7 @@
// start the actual encode
[self.core encodeJob:job
progressHandler:^(HBState state, hb_state_t hb_state) {
- [self.delegate updateProgress:[formatter stateToPercentComplete:hb_state] * 100
+ [self.delegate updateProgress:[formatter stateToPercentComplete:hb_state]
info:[formatter stateToString:hb_state title:@"preview"]];
}
completionHandler:^(BOOL success) {