From bfaf9c9bf082974876be0562792b80706f916701 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 29 May 2012 12:34:27 +0200 Subject: Fix exposure and delay time --- test/grab.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/grab.c b/test/grab.c index 12290de..debdb6e 100644 --- a/test/grab.c +++ b/test/grab.c @@ -54,9 +54,12 @@ int main(int argc, char *argv[]) "sensor-bitdepth", &bits, NULL); + g_object_set(G_OBJECT(camera), + "exposure-time", 0.1, + NULL); + const int pixel_size = bits == 8 ? 1 : 2; gpointer buffer = g_malloc0(width * height * pixel_size); - gchar filename[FILENAME_MAX]; for (int i = 0; i < 2; i++) { -- cgit v1.2.3