OSDN Git Service

Macgui: Jack the min pic limits on picturecontroller up to 64 to prevent crashing...
authordynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sat, 1 Sep 2007 09:11:59 +0000 (09:11 +0000)
committerdynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sat, 1 Sep 2007 09:11:59 +0000 (09:11 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@917 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/PictureController.mm

index 1fa248b..58888f2 100644 (file)
@@ -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];
     }