summaryrefslogtreecommitdiff
path: root/server/thumb-server-internal.c
diff options
context:
space:
mode:
authorJi Yong Min <jiyong.min@samsung.com>2016-01-07 14:11:10 +0900
committerJiyong Min <jiyong.min@samsung.com>2016-02-02 02:49:05 -0800
commit6ab5231cee62e80ed0a20629ad6f58ae8e0d8989 (patch)
tree20237fbb9bfd4103b5036304f6327d0c61bbd4f8 /server/thumb-server-internal.c
parentd52ab3b570a5362c1570e63eb54c2df84031a79e (diff)
downloadlibmedia-thumbnail-6ab5231cee62e80ed0a20629ad6f58ae8e0d8989.tar.gz
libmedia-thumbnail-6ab5231cee62e80ed0a20629ad6f58ae8e0d8989.tar.bz2
libmedia-thumbnail-6ab5231cee62e80ed0a20629ad6f58ae8e0d8989.zip
Change-Id: I66656db4c934490023fdd293ff6ce1851d2e35ef Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
Diffstat (limited to 'server/thumb-server-internal.c')
-rwxr-xr-xserver/thumb-server-internal.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/server/thumb-server-internal.c b/server/thumb-server-internal.c
index 828c327..ef3d91d 100755
--- a/server/thumb-server-internal.c
+++ b/server/thumb-server-internal.c
@@ -37,10 +37,6 @@
#undef LOG_TAG
#endif
-#ifdef _SUPPORT_DCM
-#include "thumb-server-dcm.h"
-#endif /* _SUPPORT_DCM */
-
#define LOG_TAG "MEDIA_THUMBNAIL_SERVER"
#define THUMB_DEFAULT_WIDTH 320
#define THUMB_DEFAULT_HEIGHT 240
@@ -402,22 +398,12 @@ gboolean _thumb_server_read_socket(GIOChannel *src,
thumb_dbg("All thumbnails are being extracted now");
__thumb_daemon_all_extract(recv_msg.uid);
g_idle_add(_thumb_daemon_process_queue_jobs, NULL);
-
-#ifdef _SUPPORT_DCM
- /* Send msg to dcm thread to scan all images */
- _thumb_server_dcm_send_msg(THUMB_SERVER_DCM_MSG_SCAN_ALL, recv_msg.uid, NULL, THUMB_SERVER_DCM_PORT_DCM_RECV);
-#endif /* _SUPPORT_DCM */
} else if (recv_msg.msg_type == THUMB_REQUEST_RAW_DATA) {
__thumb_daemon_process_job_raw(&recv_msg, &res_msg);
} else if (recv_msg.msg_type == THUMB_REQUEST_KILL_SERVER) {
thumb_warn("received KILL msg from thumbnail agent.");
} else {
_thumb_daemon_process_job(&recv_msg, &res_msg, recv_msg.uid);
-
-#ifdef _SUPPORT_DCM
- /* Send msg to dcm thread to scan a single image */
- _thumb_server_dcm_send_msg(THUMB_SERVER_DCM_MSG_SCAN_SINGLE, recv_msg.uid, (const char *)(recv_msg.org_path), THUMB_SERVER_DCM_PORT_DCM_RECV);
-#endif /* _SUPPORT_DCM */
}
if (res_msg.msg_type == 0)
@@ -459,10 +445,6 @@ gboolean _thumb_server_read_socket(GIOChannel *src,
if (recv_msg.msg_type == THUMB_REQUEST_KILL_SERVER) {
thumb_warn("Shutting down...");
-#ifdef _SUPPORT_DCM
- /* Quit dcm thread main loop */
- _thumb_server_dcm_quit_main_loop();
-#endif
g_main_loop_quit(g_thumb_server_mainloop);
}