diff options
Diffstat (limited to 'plugins/ufo/uca-ufo-camera.c')
-rw-r--r-- | plugins/ufo/uca-ufo-camera.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ufo/uca-ufo-camera.c b/plugins/ufo/uca-ufo-camera.c index 1de4010..0b86030 100644 --- a/plugins/ufo/uca-ufo-camera.c +++ b/plugins/ufo/uca-ufo-camera.c @@ -314,11 +314,11 @@ uca_ufo_camera_start_recording (UcaCamera *camera, GError **error) set_control_bit (priv, 14, trigger_source == UCA_CAMERA_TRIGGER_SOURCE_AUTO || trigger_source == UCA_CAMERA_TRIGGER_SOURCE_EXTERNAL); + err = pcilib_start (priv->handle, PCILIB_EVENT_DATA, PCILIB_EVENT_FLAGS_DEFAULT); + if (transfer_async) priv->async_thread = g_thread_create ((GThreadFunc) stream_async, camera, TRUE, error); - err = pcilib_start (priv->handle, PCILIB_EVENT_DATA, PCILIB_EVENT_FLAGS_DEFAULT); - if (err != 0) { g_set_error (&priv->construct_error, UCA_UFO_CAMERA_ERROR, UCA_UFO_CAMERA_ERROR_INIT, |