From eae2ae49770bcbcdbac3997676c71820dd53fdcc Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 6 Mar 2012 16:57:36 +0100 Subject: Implement single frame grabbing --- src/uca-camera.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/uca-camera.h') diff --git a/src/uca-camera.h b/src/uca-camera.h index a540d16..c10173b 100644 --- a/src/uca-camera.h +++ b/src/uca-camera.h @@ -71,7 +71,7 @@ struct _UcaCameraClass { void (*start_recording) (UcaCamera *camera, GError **error); void (*stop_recording) (UcaCamera *camera, GError **error); - void (*grab) (UcaCamera *camera, gpointer data, GError **error); + void (*grab) (UcaCamera *camera, gpointer *data, GError **error); void (*recording_started) (UcaCamera *camera); void (*recording_stopped) (UcaCamera *camera); @@ -82,7 +82,7 @@ UcaCamera *uca_camera_new(const gchar *type, GError **error); void uca_camera_start_recording(UcaCamera *camera, GError **error); void uca_camera_stop_recording(UcaCamera *camera, GError **error); -void uca_camera_grab(UcaCamera *camera, gpointer data, GError **error); +void uca_camera_grab(UcaCamera *camera, gpointer *data, GError **error); void uca_camera_set_grab_func(UcaCamera *camera, UcaCameraGrabFunc func, gpointer user_data); GType uca_camera_get_type(void); -- cgit v1.2.3