summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordynaflash <[email protected]>2010-12-28 17:22:39 +0000
committerdynaflash <[email protected]>2010-12-28 17:22:39 +0000
commita0b95c80c3c3d1ba7f88fe214da6c0e7f381abfc (patch)
tree0c9de8b7c911c2240c9e3b2972c240435a9566ae /macosx
parentc7137d19926c068c1a30ed8d15803c6628b78c09 (diff)
MacGui: Only scan ten previews when doing a queue encode scan since we don't need additional previews at this point since everything is already set.
- Patch by Rodeo. Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3716 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/Controller.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m
index 78d99280d..a72abcf9f 100644
--- a/macosx/Controller.m
+++ b/macosx/Controller.m
@@ -2578,9 +2578,9 @@ fWorkingCount = 0;
[self writeToActivityLog: "scanning specifically for title: %d", scanTitleNum];
}
- /* We use our advance pref to determine how many previews to scan */
- int hb_num_previews = [[[NSUserDefaults standardUserDefaults] objectForKey:@"PreviewsNumber"] intValue];
- hb_scan( fQueueEncodeLibhb, [path UTF8String], scanTitleNum, hb_num_previews, 0 , 0 );
+ /* Only scan 10 previews before an encode - additional previews are only useful for autocrop and static previews,
+ * which are already taken care of at this point */
+ hb_scan( fQueueEncodeLibhb, [path UTF8String], scanTitleNum, 10, 0, 0 );
}
}