From a5a5ff077106e3f5f990552fa5f953c4f478b44a Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 23 Apr 2015 10:16:47 +0200 Subject: Call async where async is expected --- bin/tools/benchmark.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') 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); } } -- cgit v1.2.3