summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/grab-async.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/grab-async.c b/test/grab-async.c
index 35ae5a4..7bcd5f7 100644
--- a/test/grab-async.c
+++ b/test/grab-async.c
@@ -67,8 +67,8 @@ int main(int argc, char *argv[])
uca_cam_alloc(cam, 10);
- uca_cam_register_callback(cam, &grab_callback, &props);
uca_cam_start_recording(cam);
+ uca_cam_register_callback(cam, &grab_callback, &props);
printf("grabbing for 1 second ... ");
fflush(stdout);
sleep(1);