From 7bf17ba4d76b07680a19c1a44fe9c0be5b736dd8 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Fri, 10 Apr 2015 16:54:08 +0200 Subject: ufo: use DEFAULT stop flag to interrupt grabbing --- plugins/ufo/uca-ufo-camera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3