set vips-sequential as a simple int

to avoid trouble with bindings which don't implement get for an empty
VipsArea
This commit is contained in:
John Cupitt 2022-03-31 17:05:02 +01:00
parent 39e75e07a2
commit dc07b00059

View File

@ -1131,8 +1131,7 @@ vips_foreign_load_build( VipsObject *object )
/* Tell downstream if we are reading sequentially.
*/
if( sequential )
vips_image_set_area( load->out,
VIPS_META_SEQUENTIAL, NULL, NULL );
vips_image_set_int( load->out, VIPS_META_SEQUENTIAL, 1 );
return( 0 );
}