summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-05-14 20:49:23 +0000
committerritsuka <[email protected]>2015-05-14 20:49:23 +0000
commita78007860ebf488724591691252597117e728ac5 (patch)
treee6f7eb0f978e1082dc1d6ef67694065139b48884 /macosx
parent058603fde7191d4406a97a381b19eea55b42069a (diff)
MacGui: fix deinterlace in preview window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7187 b64f7644-9d1e-0410-96f1-a4d463321fa5
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