From ff7f3216fe76e0a4598bdf737671a5e25a780ded Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 20 Mar 2013 10:03:52 +0100 Subject: uca_camera_grab takes a gpointer and returns bool --- tools/grab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/grab.c') diff --git a/tools/grab.c b/tools/grab.c index b020279..e8e91be 100644 --- a/tools/grab.c +++ b/tools/grab.c @@ -127,7 +127,7 @@ int main(int argc, char *argv[]) while (counter < 5) { g_print(" grab frame ... "); g_timer_start(timer); - uca_camera_grab(camera, &buffer, &error); + uca_camera_grab(camera, buffer, &error); if (error != NULL) { g_print("\nError: %s\n", error->message); -- cgit v1.2.3