summaryrefslogtreecommitdiffstats
path: root/tools/benchmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/benchmark.c')
-rw-r--r--tools/benchmark.c2
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);