diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-08-07 14:40:38 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-08-07 15:46:21 +0200 |
commit | 399ff33fe9ee40867486df64f50f129c88501daa (patch) | |
tree | e4ca3587ba8d95cff34064883e07e56a440fac5f /test | |
parent | 91a50f1a16c253bbc147cb2ccb120b6cd35e2ac4 (diff) | |
download | libuca-399ff33fe9ee40867486df64f50f129c88501daa.tar.gz libuca-399ff33fe9ee40867486df64f50f129c88501daa.tar.bz2 libuca-399ff33fe9ee40867486df64f50f129c88501daa.tar.xz libuca-399ff33fe9ee40867486df64f50f129c88501daa.zip |
Calculate timeout only when recording starts
Reading register values is not really fast, so we keep the last exposure time
when starting the acquisition.
Diffstat (limited to 'test')
-rw-r--r-- | test/benchmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
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), |