diff options
Diffstat (limited to 'uca-ufo-camera.c')
-rw-r--r-- | uca-ufo-camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uca-ufo-camera.c b/uca-ufo-camera.c index 61bf8a6..40bc13a 100644 --- a/uca-ufo-camera.c +++ b/uca-ufo-camera.c @@ -378,7 +378,7 @@ uca_ufo_camera_stop_recording (UcaCamera *camera, GError **error) } /* read stale frames ... */ - while (!pcilib_get_next_event (priv->handle, priv->timeout, &event_id, sizeof (pcilib_event_info_t), &event_info)) + while (!pcilib_get_next_event (priv->handle, PCILIB_TIMEOUT_IMMEDIATE, &event_id, sizeof (pcilib_event_info_t), &event_info)) ; err = pcilib_stop (priv->handle, PCILIB_EVENT_FLAGS_DEFAULT); |