summaryrefslogtreecommitdiffstats
path: root/test/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/control.c')
-rw-r--r--test/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/control.c b/test/control.c
index c220e21..dcb8c8e 100644
--- a/test/control.c
+++ b/test/control.c
@@ -96,7 +96,7 @@ void *grab_thread(void *args)
struct uca_camera *cam = data->cam;
while (data->running) {
- cam->grab(cam, (char *) data->buffer);
+ cam->grab(cam, (char *) data->buffer, NULL);
if (data->pixel_size == 1)
convert_8bit_to_rgb(data->pixels, data->buffer, data->width, data->height);
else if (data->pixel_size == 2)