diff options
Diffstat (limited to 'uca-ufo-camera.c')
-rw-r--r-- | uca-ufo-camera.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uca-ufo-camera.c b/uca-ufo-camera.c index 7fb6781..149220c 100644 --- a/uca-ufo-camera.c +++ b/uca-ufo-camera.c @@ -192,7 +192,7 @@ update_properties (UcaUfoCameraPrivate *priv) reg = &description->registers[i]; - switch (reg->mode) { + switch (reg->mode&(PCILIB_REGISTER_RW|PCILIB_REGISTER_W1C|PCILIB_REGISTER_W1I)) { case PCILIB_REGISTER_R: flags = G_PARAM_READABLE; break; @@ -344,7 +344,7 @@ uca_ufo_camera_start_recording (UcaCamera *camera, GError **error) 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); + priv->async_thread = g_thread_new ("async-thread", (GThreadFunc) stream_async, camera); if (err != 0) { g_set_error (&priv->construct_error, |