diff options
author | Minje Ahn <minje.ahn@samsung.com> | 2018-11-07 11:10:46 +0900 |
---|---|---|
committer | Minje Ahn <minje.ahn@samsung.com> | 2018-11-07 11:10:46 +0900 |
commit | 615ce7cc8180124fef07d26dcc46b72b83c13d08 (patch) | |
tree | 0d125e43e8ee950d229108868ad93c94642d9972 /src/ipc/media-thumb-ipc.c | |
parent | 9323d2d449cb89ce46a2d5c263314f0192b046dc (diff) | |
download | libmedia-thumbnail-submit/tizen/20181122.022626.tar.gz libmedia-thumbnail-submit/tizen/20181122.022626.tar.bz2 libmedia-thumbnail-submit/tizen/20181122.022626.zip |
[ACR-1309] Remove deprecated APIsubmit/tizen/20181122.022626accepted/tizen/unified/20181122.060337
Change-Id: Icc45ae99d610d518a5fb09d061599ae0cd729c81
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/ipc/media-thumb-ipc.c')
-rwxr-xr-x | src/ipc/media-thumb-ipc.c | 28 |
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; -} |