summaryrefslogtreecommitdiff
path: root/src/ipc
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2018-11-07 11:10:46 +0900
committerMinje Ahn <minje.ahn@samsung.com>2018-11-07 11:10:46 +0900
commit615ce7cc8180124fef07d26dcc46b72b83c13d08 (patch)
tree0d125e43e8ee950d229108868ad93c94642d9972 /src/ipc
parent9323d2d449cb89ce46a2d5c263314f0192b046dc (diff)
downloadlibmedia-thumbnail-submit/tizen/20181122.022626.tar.gz
libmedia-thumbnail-submit/tizen/20181122.022626.tar.bz2
libmedia-thumbnail-submit/tizen/20181122.022626.zip
Change-Id: Icc45ae99d610d518a5fb09d061599ae0cd729c81 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/ipc')
-rwxr-xr-xsrc/ipc/media-thumb-ipc.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/ipc/media-thumb-ipc.c b/src/ipc/media-thumb-ipc.c
index 5015be2..c715182 100755
--- a/src/ipc/media-thumb-ipc.c
+++ b/src/ipc/media-thumb-ipc.c
@@ -684,31 +684,3 @@ int _media_thumb_request_raw_data_async(int msg_type, int request_id, const char
return err;
}
-
-int _media_thumb_request_cancel_all()
-{
- if (g_manage_raw_queue != NULL) {
- while (g_queue_get_length(g_manage_raw_queue) > 0) {
- thumbRawReq *req = (thumbRawReq *)g_queue_peek_tail(g_manage_raw_queue);
- if (req != NULL) {
- if (req->isRequested == true) {
- req->isCanceled = true;
- thumb_dbg("Last item!!");
-
- break;
- } else {
- g_queue_pop_tail(g_manage_raw_queue);
-
- SAFE_FREE(req->path);
- SAFE_FREE(req->userData);
- SAFE_FREE(req);
- }
- } else {
- thumb_dbg("Queue is empty!!");
- break;
- }
- }
- }
-
- return MS_MEDIA_ERR_NONE;
-}