summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBPreviewGenerator.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/HBPreviewGenerator.m b/macosx/HBPreviewGenerator.m
index 379d584f9..a29b4e8c2 100644
--- a/macosx/HBPreviewGenerator.m
+++ b/macosx/HBPreviewGenerator.m
@@ -71,7 +71,8 @@
if (!theImage)
{
HBFilters *filters = self.job.filters;
- BOOL deinterlace = (filters.deinterlace && !filters.useDecomb) || (filters.decomb && filters.useDecomb);
+ BOOL deinterlace = (![filters.deinterlace isEqualToString:@"off"] && !filters.useDecomb) ||
+ (![filters.decomb isEqualToString:@"off"] && filters.useDecomb);
theImage = (CGImageRef)[self.scanCore copyImageAtIndex:index
forTitle:self.job.title