diff --git a/libvips/iofuncs/streami.c b/libvips/iofuncs/streami.c index 1ba9c6d7..a9038327 100644 --- a/libvips/iofuncs/streami.c +++ b/libvips/iofuncs/streami.c @@ -38,8 +38,8 @@ /* #define VIPS_DEBUG - */ #define TEST_SANITY + */ #ifdef HAVE_CONFIG_H #include @@ -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 )