diff options
author | Damiano Galassi <damiog@gmail.com> | 2016-03-26 08:34:52 +0100 |
---|---|---|
committer | Damiano Galassi <damiog@gmail.com> | 2016-03-26 08:35:10 +0100 |
commit | 441d09f5e86b43135958beae4cc2359fa675eb2d (patch) | |
tree | 1cc5dff92af06988f35698d8ef3f440ebd434782 | |
parent | 47c6aefa065c00ffbcbd9b286c8a7aed582f8767 (diff) |
MacGui: fix the "encoding (null)" string that was shown when encoding a preview.
-rw-r--r-- | macosx/HBPreviewGenerator.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/HBPreviewGenerator.m b/macosx/HBPreviewGenerator.m index a12dbe5fb..093a64fea 100644 --- a/macosx/HBPreviewGenerator.m +++ b/macosx/HBPreviewGenerator.m @@ -214,6 +214,8 @@ formatter.showPassNumber = NO; formatter.title = NSLocalizedString(@"preview", nil); + self.core.stateFormatter = formatter; + // start the actual encode [self.core encodeJob:job progressHandler:^(HBState state, HBProgress progress, NSString *info) { |