diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/grab_pylon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/grab_pylon.c b/test/grab_pylon.c index cb1e534..2f9b5a0 100644 --- a/test/grab_pylon.c +++ b/test/grab_pylon.c @@ -55,6 +55,7 @@ int main(int argc, char *argv[]) NULL); const int pixel_size = bits == 8 ? 1 : 2; + g_print("allocate buffer %u, %u, %d\n", width, height, pixel_size); gpointer buffer = g_malloc0(width * height * pixel_size); gchar filename[FILENAME_MAX]; @@ -65,7 +66,7 @@ int main(int argc, char *argv[]) uca_camera_start_recording(camera, &error); g_assert_no_error(error); - while (counter < 50) { + while (counter < 10) { g_print(" grab frame ... "); uca_camera_grab(camera, &buffer, &error); if (error != NULL) { |