Signal

VipsSourceCustom::seek

Declaration

gint64
seek (
  VipsSourceCustom* self,
  gint64 offset,
  gint whence,
  gpointer user_data
)

Description [src]

This signal is emitted to seek the source. The handler should change the source position appropriately.

The handler for an unseekable source should always return -1.

Default handler:
The signal can be emitted directly

Parameters

offset gint64
 

gint64, seek offset.

whence gint
 

gint, seek origin.

Return value

Returns: gint64
 

The new seek position.