summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/capi-media-camera.spec2
-rw-r--r--src/camera.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec
index 909ab32..2a21d0b 100644
--- a/packaging/capi-media-camera.spec
+++ b/packaging/capi-media-camera.spec
@@ -1,6 +1,6 @@
Name: capi-media-camera
Summary: A Camera API
-Version: 0.2.76
+Version: 0.2.77
Release: 0
Group: Multimedia/API
License: Apache-2.0
diff --git a/src/camera.c b/src/camera.c
index d499594..d0f8419 100644
--- a/src/camera.c
+++ b/src/camera.c
@@ -6547,6 +6547,7 @@ int camera_add_device_state_changed_cb(camera_device_state_changed_cb callback,
info->id = ++g_cam_dev_state_changed_cb_id;
info->callback = (void *)callback;
+ info->user_data = user_data;
*cb_id = info->id;