From 9172ebd2b51175e68fd5a424b8590bbb23dec97d Mon Sep 17 00:00:00 2001 From: dynaflash Date: Tue, 28 Dec 2010 17:22:39 +0000 Subject: [PATCH] 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://localhost/HandBrake/trunk@3716 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/Controller.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index 78d99280..a72abcf9 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 ); } } -- 2.11.0