From 51f92f5b810ba99414af15d55b454ad660eb5290 Mon Sep 17 00:00:00 2001 From: Jeongmo Yang Date: Mon, 6 Aug 2018 12:06:29 +0900 Subject: [PATCH] Remove unused code [Version] 0.4.11 [Profile] Common [Issue Type] Update [Dependency module] N/A Change-Id: Iafefcce625d07de5dea16aebede4b4044830f63c Signed-off-by: Jeongmo Yang --- include/camera_private.h | 11 ----------- packaging/capi-media-camera.spec | 2 +- src/camera.c | 2 -- 3 files changed, 1 insertion(+), 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); -- 2.7.4