summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/capi-media-camera.spec2
-rw-r--r--src/camera.c4
2 files changed, 1 insertions, 5 deletions
diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec
index 8e9e217..5efd6f9 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.4.26
+Version: 0.4.27
Release: 0
Group: Multimedia/API
License: Apache-2.0
diff --git a/src/camera.c b/src/camera.c
index 4da30f3..f4bf264 100644
--- a/src/camera.c
+++ b/src/camera.c
@@ -2488,7 +2488,6 @@ int camera_create(camera_device_e device, camera_h *camera)
char *send_msg = NULL;
int send_ret = 0;
int ret = CAMERA_ERROR_NONE;
- int pid = 0;
camera_cli_s *pc = NULL;
tbm_bufmgr bufmgr = NULL;
@@ -2508,8 +2507,6 @@ int camera_create(camera_device_e device, camera_h *camera)
goto ErrorExit;
}
- pid = getpid();
-
if (muse_client_get_module_index(MODULE_NAME, &module_index) != MM_ERROR_NONE) {
LOGE("muse client get module index failed");
ret = CAMERA_ERROR_INVALID_OPERATION;
@@ -2519,7 +2516,6 @@ int camera_create(camera_device_e device, camera_h *camera)
send_msg = muse_core_msg_new(api,
MUSE_TYPE_INT, "module", module_index,
MUSE_TYPE_INT, PARAM_DEVICE_TYPE, device_type,
- MUSE_TYPE_INT, "pid", pid,
0);
if (!send_msg) {