summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2015-04-23 10:16:47 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2015-04-23 10:16:47 +0200
commita5a5ff077106e3f5f990552fa5f953c4f478b44a (patch)
treee54c92b89b4c283e9318dc1c836df0af8a4135d6
parent4ec7d39fb87c0fe798212e03e1fb6441aa4d3296 (diff)
downloaduca-a5a5ff077106e3f5f990552fa5f953c4f478b44a.tar.gz
uca-a5a5ff077106e3f5f990552fa5f953c4f478b44a.tar.bz2
uca-a5a5ff077106e3f5f990552fa5f953c4f478b44a.tar.xz
uca-a5a5ff077106e3f5f990552fa5f953c4f478b44a.zip
Call async where async is expected
-rw-r--r--bin/tools/benchmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/tools/benchmark.c b/bin/tools/benchmark.c
index 6ed6872..321ffe9 100644
--- a/bin/tools/benchmark.c
+++ b/bin/tools/benchmark.c
@@ -231,12 +231,12 @@ benchmark (UcaCamera *camera, Options *options)
if (options->test_software) {
g_print ("[ async ] [ software ]");
- benchmark_method (camera, buffer, grab_frames_sync, options, UCA_CAMERA_TRIGGER_SOURCE_SOFTWARE);
+ benchmark_method (camera, buffer, grab_frames_async, options, UCA_CAMERA_TRIGGER_SOURCE_SOFTWARE);
}
if (options->test_external) {
g_print ("[ async ] [ external ]");
- benchmark_method (camera, buffer, grab_frames_sync, options, UCA_CAMERA_TRIGGER_SOURCE_EXTERNAL);
+ benchmark_method (camera, buffer, grab_frames_async, options, UCA_CAMERA_TRIGGER_SOURCE_EXTERNAL);
}
}