diff options
-rwxr-xr-x | server/thumb-server-internal.c | 2 | ||||
-rwxr-xr-x | src/ipc/media-thumb-ipc.c | 4 |
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 +} |