diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-04-24 08:45:01 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-04-24 08:45:01 +0200 |
commit | 06fdc489f0cd433b20baef2d936e5d5db153af59 (patch) | |
tree | 0b03d148a1832baa71c8e052c9adcfebf43e71c1 /bin/tools | |
parent | 11201def487f90fc94cc06a163c4226aebbb92e3 (diff) | |
download | libuca-06fdc489f0cd433b20baef2d936e5d5db153af59.tar.gz libuca-06fdc489f0cd433b20baef2d936e5d5db153af59.tar.bz2 libuca-06fdc489f0cd433b20baef2d936e5d5db153af59.tar.xz libuca-06fdc489f0cd433b20baef2d936e5d5db153af59.zip |
Fix async benchmarks
Diffstat (limited to 'bin/tools')
-rw-r--r-- | bin/tools/benchmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/tools/benchmark.c b/bin/tools/benchmark.c index 321ffe9..e86aaff 100644 --- a/bin/tools/benchmark.c +++ b/bin/tools/benchmark.c @@ -123,7 +123,7 @@ static void grab_frames_async (UcaCamera *camera, gpointer buffer, guint n_frames, UcaCameraTriggerSource trigger_source) { GError *error = NULL; - guint n_acquired_frames = 0; + volatile guint n_acquired_frames = 0; g_object_set (camera, "trigger-source", trigger_source, NULL); uca_camera_set_grab_func (camera, grab_callback, &n_acquired_frames); |