diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2013-03-20 10:03:52 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2013-03-20 10:03:52 +0100 |
commit | ff7f3216fe76e0a4598bdf737671a5e25a780ded (patch) | |
tree | 611970247e33c4af6b1a2a6345bb39b3cb05295e /tools/benchmark.c | |
parent | 71acacfd31e36fcb314d0d75306d26f9518e1d6a (diff) | |
download | libuca-ff7f3216fe76e0a4598bdf737671a5e25a780ded.tar.gz libuca-ff7f3216fe76e0a4598bdf737671a5e25a780ded.tar.bz2 libuca-ff7f3216fe76e0a4598bdf737671a5e25a780ded.tar.xz libuca-ff7f3216fe76e0a4598bdf737671a5e25a780ded.zip |
uca_camera_grab takes a gpointer and returns bool
Diffstat (limited to 'tools/benchmark.c')
-rw-r--r-- | tools/benchmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/benchmark.c b/tools/benchmark.c index 170a96c..f262a06 100644 --- a/tools/benchmark.c +++ b/tools/benchmark.c @@ -100,7 +100,7 @@ grab_frames_sync (UcaCamera *camera, gpointer buffer, guint n_frames) uca_camera_start_recording (camera, &error); for (guint i = 0; i < n_frames; i++) { - uca_camera_grab(camera, &buffer, &error); + uca_camera_grab(camera, buffer, &error); if (error != NULL) { g_warning ("Error grabbing frame %02i/%i: `%s'", i, n_frames, error->message); |