add a little more debugging

This commit is contained in:
John Cupitt 2019-11-24 06:46:08 +00:00
parent 562da3e5ab
commit 3d770f8ec9
1 changed files with 2 additions and 1 deletions

View File

@ -38,8 +38,8 @@
/*
#define VIPS_DEBUG
*/
#define TEST_SANITY
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
@ -244,6 +244,7 @@ vips_streami_build( VipsObject *object )
*/
if( streami->data ||
class->seek( streami, 0, SEEK_CUR ) != -1 ) {
VIPS_DEBUG_MSG( " seekable stream\n" );
/* We should be able to get the length of seekable objects.
*/
if( (streami->length = vips_streami_size( streami )) == -1 )