add a little more debugging
This commit is contained in:
parent
562da3e5ab
commit
3d770f8ec9
@ -38,8 +38,8 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
#define VIPS_DEBUG
|
#define VIPS_DEBUG
|
||||||
*/
|
|
||||||
#define TEST_SANITY
|
#define TEST_SANITY
|
||||||
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
@ -244,6 +244,7 @@ vips_streami_build( VipsObject *object )
|
|||||||
*/
|
*/
|
||||||
if( streami->data ||
|
if( streami->data ||
|
||||||
class->seek( streami, 0, SEEK_CUR ) != -1 ) {
|
class->seek( streami, 0, SEEK_CUR ) != -1 ) {
|
||||||
|
VIPS_DEBUG_MSG( " seekable stream\n" );
|
||||||
/* We should be able to get the length of seekable objects.
|
/* We should be able to get the length of seekable objects.
|
||||||
*/
|
*/
|
||||||
if( (streami->length = vips_streami_size( streami )) == -1 )
|
if( (streami->length = vips_streami_size( streami )) == -1 )
|
||||||
|
Loading…
Reference in New Issue
Block a user