diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-03-06 16:57:36 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-03-06 16:57:36 +0100 |
commit | eae2ae49770bcbcdbac3997676c71820dd53fdcc (patch) | |
tree | f39b61f6ea2bd30620879595b0fa7c51093bc084 /src/uca-camera.h | |
parent | 09d05f26269799e643c171849f22d24c30836d00 (diff) | |
download | libuca-eae2ae49770bcbcdbac3997676c71820dd53fdcc.tar.gz libuca-eae2ae49770bcbcdbac3997676c71820dd53fdcc.tar.bz2 libuca-eae2ae49770bcbcdbac3997676c71820dd53fdcc.tar.xz libuca-eae2ae49770bcbcdbac3997676c71820dd53fdcc.zip |
Implement single frame grabbing
Diffstat (limited to 'src/uca-camera.h')
-rw-r--r-- | src/uca-camera.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |