From 4e2b30c1eb837fcbbcf6cc63340877c466b686be Mon Sep 17 00:00:00 2001 From: dynaflash Date: Sat, 1 Sep 2007 09:11:59 +0000 Subject: [PATCH] Macgui: Jack the min pic limits on picturecontroller up to 64 to prevent crashing on encodes that are too small git-svn-id: svn://localhost/HandBrake/trunk@917 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/PictureController.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/macosx/PictureController.mm b/macosx/PictureController.mm index 1fa248bd..58888f2a 100644 --- a/macosx/PictureController.mm +++ b/macosx/PictureController.mm @@ -32,10 +32,10 @@ static int GetAlignedSize( int size ) [fWidthStepper setValueWraps: NO]; [fWidthStepper setIncrement: 16]; - [fWidthStepper setMinValue: 32]; + [fWidthStepper setMinValue: 64]; [fHeightStepper setValueWraps: NO]; [fHeightStepper setIncrement: 16]; - [fHeightStepper setMinValue: 32]; + [fHeightStepper setMinValue: 64]; [fCropTopStepper setIncrement: 2]; [fCropTopStepper setMinValue: 0]; @@ -351,7 +351,7 @@ static int GetAlignedSize( int size ) crashing hb_get_preview. In fact, just for kicks lets getting previews at a min limit of 32, since no human can see any meaningful detail below that */ - if (job->width >= 32 && job->height >= 32) + if (job->width >= 64 && job->height >= 64) { [self Display: HB_ANIMATE_NONE]; } -- 2.11.0