diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2014-09-30 18:33:03 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-09-30 18:55:48 +0200 |
commit | 1fe54d437f1a11f5ff402dfb0d19d5de37f4b005 (patch) | |
tree | b45ee15e9458e58c5e1f3b1b89b71150277bff75 /src/uca-camera.c | |
parent | 87744e57e7ce6659a069c714977ef34b9d59384f (diff) | |
download | uca-1fe54d437f1a11f5ff402dfb0d19d5de37f4b005.tar.gz uca-1fe54d437f1a11f5ff402dfb0d19d5de37f4b005.tar.bz2 uca-1fe54d437f1a11f5ff402dfb0d19d5de37f4b005.tar.xz uca-1fe54d437f1a11f5ff402dfb0d19d5de37f4b005.zip |
pco: add global shutter support
Diffstat (limited to 'src/uca-camera.c')
-rw-r--r-- | src/uca-camera.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/uca-camera.c b/src/uca-camera.c index 6f44957..9c90f1a 100644 --- a/src/uca-camera.c +++ b/src/uca-camera.c @@ -943,6 +943,9 @@ uca_camera_grab (UcaCamera *camera, gpointer data, GError **error) else { gpointer buffer; + if (camera->priv->ring_buffer == NULL) + return FALSE; + /* * Spin-lock until we can read something. This shouldn't happen to * often, as buffering is usually used in those cases when the camera is |