tiny polish

This commit is contained in:
John Cupitt 2014-09-02 13:40:37 +01:00
parent e9ce212b62
commit 501e900be5
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@
#include "pconversion.h" #include "pconversion.h"
/* Stall threads that run ahead for up to this long, in seconds. Normally they /* Stall threads that run ahead for up to this long, in seconds. Normally they
* will be woken up long before this, once their data is ready. The timeout is * will be woken once their data is ready and long before this. The timeout is
* just to prevent a total crash in the case of accidental deadlock. * just to prevent a total crash in the case of accidental deadlock.
* *
* This has to be a long time: if we're trying to use all cores on a busy * This has to be a long time: if we're trying to use all cores on a busy

View File

@ -490,7 +490,7 @@ thumbnail_shrink( VipsObject *process, VipsImage *in,
if( vips_tilecache( in, &t[4], if( vips_tilecache( in, &t[4],
"tile_width", in->Xsize, "tile_width", in->Xsize,
"tile_height", 10, "tile_height", 10,
"max_tiles", (nlines * 2) / 10, "max_tiles", 1 + (nlines * 2) / 10,
"access", VIPS_ACCESS_SEQUENTIAL, "access", VIPS_ACCESS_SEQUENTIAL,
"threaded", TRUE, "threaded", TRUE,
NULL ) ) NULL ) )