From 399ff33fe9ee40867486df64f50f129c88501daa Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 7 Aug 2012 14:40:38 +0200 Subject: Calculate timeout only when recording starts Reading register values is not really fast, so we keep the last exposure time when starting the acquisition. --- test/benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/benchmark.c b/test/benchmark.c index e900b4b..f221731 100644 --- a/test/benchmark.c +++ b/test/benchmark.c @@ -174,7 +174,7 @@ benchmark (UcaCamera *camera) guint bits; guint n_bytes_per_pixel; guint n_bytes; - gdouble exposure = 0.001; + gdouble exposure = 0.00001; gpointer buffer; g_object_set (G_OBJECT (camera), -- cgit v1.2.3