diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-04-10 16:54:08 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-04-10 16:54:08 +0200 |
commit | 7bf17ba4d76b07680a19c1a44fe9c0be5b736dd8 (patch) | |
tree | 168a236aed75520d1305dbea4967867f3cd2db15 | |
parent | 69de0ca1aef76d69beac32ab0868d395211aae9a (diff) | |
download | uca-7bf17ba4d76b07680a19c1a44fe9c0be5b736dd8.tar.gz uca-7bf17ba4d76b07680a19c1a44fe9c0be5b736dd8.tar.bz2 uca-7bf17ba4d76b07680a19c1a44fe9c0be5b736dd8.tar.xz uca-7bf17ba4d76b07680a19c1a44fe9c0be5b736dd8.zip |
ufo: use DEFAULT stop flag to interrupt grabbing
-rw-r--r-- | plugins/ufo/uca-ufo-camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ufo/uca-ufo-camera.c b/plugins/ufo/uca-ufo-camera.c index 0ea3db7..cc876c7 100644 --- a/plugins/ufo/uca-ufo-camera.c +++ b/plugins/ufo/uca-ufo-camera.c @@ -358,7 +358,7 @@ uca_ufo_camera_stop_recording (UcaCamera *camera, GError **error) while (!pcilib_get_next_event (priv->handle, priv->timeout, &event_id, sizeof (pcilib_event_info_t), &event_info)) ; - err = pcilib_stop(priv->handle, PCILIB_EVENT_FLAG_STOP_ONLY); + err = pcilib_stop (priv->handle, PCILIB_EVENT_FLAGS_DEFAULT); PCILIB_SET_ERROR(err, UCA_UFO_CAMERA_ERROR_STOP_RECORDING); } |