diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-04-22 08:58:51 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-04-22 08:58:51 +0200 |
commit | 4ec7d39fb87c0fe798212e03e1fb6441aa4d3296 (patch) | |
tree | 29e82d784d53c8252065696c3dd5d11fa23a9bc7 /bin | |
parent | f010b1d5cbdff2fa0b754dafe7ba421d3da258e8 (diff) | |
download | libuca-4ec7d39fb87c0fe798212e03e1fb6441aa4d3296.tar.gz libuca-4ec7d39fb87c0fe798212e03e1fb6441aa4d3296.tar.bz2 libuca-4ec7d39fb87c0fe798212e03e1fb6441aa4d3296.tar.xz libuca-4ec7d39fb87c0fe798212e03e1fb6441aa4d3296.zip |
Explicitly disable async mode
Diffstat (limited to 'bin')
-rw-r--r-- | bin/tools/benchmark.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/tools/benchmark.c b/bin/tools/benchmark.c index 142b268..6ed6872 100644 --- a/bin/tools/benchmark.c +++ b/bin/tools/benchmark.c @@ -207,6 +207,8 @@ benchmark (UcaCamera *camera, Options *options) options->n_bytes = roi_width * roi_height * n_bytes_per_pixel; buffer = g_malloc0 (options->n_bytes); + g_object_set (G_OBJECT(camera), "transfer-asynchronously", FALSE, NULL); + g_print ("[ sync ] [ auto ]"); benchmark_method (camera, buffer, grab_frames_sync, options, UCA_CAMERA_TRIGGER_SOURCE_AUTO); |