summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJi Yong Min <jiyong.min@samsung.com>2016-03-15 00:26:15 (GMT)
committerJiyong Min <jiyong.min@samsung.com>2016-03-21 07:05:43 (GMT)
commit26c68eb12b1f1723a8fddcf2a3709d8a8331b523 (patch)
treebd81f6189f7df0dd09da9fc0689c9468d15b7366
parent4f4c8efd1e7a1543150da6e5546bbb360e2525c8 (diff)
downloadlibmedia-thumbnail-26c68eb12b1f1723a8fddcf2a3709d8a8331b523.zip
libmedia-thumbnail-26c68eb12b1f1723a8fddcf2a3709d8a8331b523.tar.gz
libmedia-thumbnail-26c68eb12b1f1723a8fddcf2a3709d8a8331b523.tar.bz2
Change-Id: Ia288a49e2ad8b2dcfcc0f36a424755a54e9e4415 Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
-rwxr-xr-xserver/thumb-server-internal.c2
-rwxr-xr-xsrc/ipc/media-thumb-ipc.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/server/thumb-server-internal.c b/server/thumb-server-internal.c
index 06a3457..eb1e912 100755
--- a/server/thumb-server-internal.c
+++ b/server/thumb-server-internal.c
@@ -42,7 +42,7 @@
#define THUMB_DEFAULT_HEIGHT 240
#define THUMB_BLOCK_SIZE 512
#define THUMB_ROOT_UID "0"
-#define THUMB_COMM_SOCK_PATH "/var/run/media-server/media_ipc_thumbcomm.socket"
+#define THUMB_COMM_SOCK_PATH tzplatform_mkpath(TZ_SYS_RUN, "media-server/media_ipc_thumbcomm.socket")
#define THUMB_EMPTY_STR ""
static __thread char **arr_path;
diff --git a/src/ipc/media-thumb-ipc.c b/src/ipc/media-thumb-ipc.c
index cbbb7b0..aded136 100755
--- a/src/ipc/media-thumb-ipc.c
+++ b/src/ipc/media-thumb-ipc.c
@@ -32,7 +32,7 @@
#include <pwd.h>
#define THUMB_SOCK_BLOCK_SIZE 512
-#define THUMB_IPC_PATH "/var/run/media-server/media_ipc_thumbcreator.socket"
+#define THUMB_IPC_PATH tzplatform_mkpath(TZ_SYS_RUN, "media-server/media_ipc_thumbcreator.socket")
static GQueue *g_request_queue = NULL;
static GQueue *g_manage_queue = NULL;
@@ -1180,4 +1180,4 @@ int _media_thumb_request_cancel_all(bool isRaw)
}
return MS_MEDIA_ERR_NONE;
-} \ No newline at end of file
+}