summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeongmo Yang <jm80.yang@samsung.com>2018-08-06 12:06:29 +0900
committerJeongmo Yang <jm80.yang@samsung.com>2018-08-06 12:06:29 +0900
commit51f92f5b810ba99414af15d55b454ad660eb5290 (patch)
treeae7fd5a731a6195452838934e7c06b89e480b51a
parent3e579a1062d4906953cad1f797ad80825c3ea697 (diff)
downloadcamera-51f92f5b810ba99414af15d55b454ad660eb5290.tar.gz
camera-51f92f5b810ba99414af15d55b454ad660eb5290.tar.bz2
camera-51f92f5b810ba99414af15d55b454ad660eb5290.zip
Remove unused code
[Version] 0.4.11 [Profile] Common [Issue Type] Update [Dependency module] N/A Change-Id: Iafefcce625d07de5dea16aebede4b4044830f63c Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
-rw-r--r--include/camera_private.h11
-rw-r--r--packaging/capi-media-camera.spec2
-rw-r--r--src/camera.c2
3 files changed, 1 insertions, 14 deletions
diff --git a/include/camera_private.h b/include/camera_private.h
index fb19ea3..2539101 100644
--- a/include/camera_private.h
+++ b/include/camera_private.h
@@ -143,9 +143,6 @@ typedef struct _camera_cb_info_s {
/* tbm */
tbm_bufmgr bufmgr;
- /* wayland */
- int parent_id;
-
/* media packet */
media_format_h pkt_fmt;
GMutex mp_data_mutex;
@@ -181,14 +178,6 @@ typedef struct _camera_idle_event_s {
GMutex event_mutex;
} camera_idle_event_s;
-typedef struct _camera_wl_info_s {
- int parent_id;
- int window_x;
- int window_y;
- int window_width;
- int window_height;
-} camera_wl_info_s;
-
typedef struct _camera_cli_s {
intptr_t remote_handle;
camera_cb_info_s *cb_info;
diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec
index 4b65c5c..9d8afe1 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.10
+Version: 0.4.11
Release: 0
Group: Multimedia/API
License: Apache-2.0
diff --git a/src/camera.c b/src/camera.c
index 5a8e1e7..eb0787e 100644
--- a/src/camera.c
+++ b/src/camera.c
@@ -3068,8 +3068,6 @@ int camera_set_display(camera_h camera, camera_display_type_e type, camera_displ
}
}
- cb_info->parent_id = parent_id;
-
CAMERA_MSG_PARAM_SET(param0, INT, type);
CAMERA_MSG_PARAM_SET(param1, INT, parent_id);