summaryrefslogtreecommitdiffstats
path: root/macosx/PictureController.mm
diff options
context:
space:
mode:
authordynaflash <[email protected]>2007-09-01 09:11:59 +0000
committerdynaflash <[email protected]>2007-09-01 09:11:59 +0000
commit28717a55250d69e01412ce49fec3bc40a42560a4 (patch)
treea5218db56c54c09085d352ff3d988e6ed8dc2016 /macosx/PictureController.mm
parent808332b47accde7e033a66afe089ecba962036fb (diff)
Macgui: Jack the min pic limits on picturecontroller up to 64 to prevent crashing on encodes that are too small
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@917 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/PictureController.mm')
-rw-r--r--macosx/PictureController.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/PictureController.mm b/macosx/PictureController.mm
index 1fa248bde..58888f2a0 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];
}