summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2015-04-10 16:54:08 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2015-04-10 16:54:08 +0200
commit7bf17ba4d76b07680a19c1a44fe9c0be5b736dd8 (patch)
tree168a236aed75520d1305dbea4967867f3cd2db15 /plugins
parent69de0ca1aef76d69beac32ab0868d395211aae9a (diff)
downloaduca-7bf17ba4d76b07680a19c1a44fe9c0be5b736dd8.tar.gz
uca-7bf17ba4d76b07680a19c1a44fe9c0be5b736dd8.tar.bz2
uca-7bf17ba4d76b07680a19c1a44fe9c0be5b736dd8.tar.xz
uca-7bf17ba4d76b07680a19c1a44fe9c0be5b736dd8.zip
ufo: use DEFAULT stop flag to interrupt grabbing
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ufo/uca-ufo-camera.c2
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);
}