projects
/
platform
/
core
/
multimedia
/
media-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0acc311
)
Fix build error
56/275956/1
accepted/tizen/unified/20220616.141905
submit/tizen/20220613.001514
submit/tizen/20220613.040004
submit/tizen/20220614.232808
submit/tizen/20220615.081536
author
minje.ahn
<minje.ahn@samsung.com>
Tue, 7 Jun 2022 09:19:12 +0000
(18:19 +0900)
committer
minje.ahn
<minje.ahn@samsung.com>
Tue, 7 Jun 2022 09:19:12 +0000
(18:19 +0900)
Change-Id: Iaaee756e9df16b4fdccd4d6c09dff92eec7134c0
Signed-off-by: minje.ahn <minje.ahn@samsung.com>
src/common/media-common-utils.c
patch
|
blob
|
history
diff --git
a/src/common/media-common-utils.c
b/src/common/media-common-utils.c
index
0af71d5
..
0901fe8
100644
(file)
--- a/
src/common/media-common-utils.c
+++ b/
src/common/media-common-utils.c
@@
-132,12
+132,16
@@
bool ms_is_support_pvr(void)
bool ms_is_valid_symlink(const char *path)
{
+#ifdef _USE_TVPD_MODE
+ return false;
+#else
g_autofree char *real_path = realpath(path, NULL);
if (!real_path)
return false;
return (g_strcmp0(real_path, MEDIA_SHARE_PATH) == 0);
+#endif
}
int ms_check_file_path(const char *file_path, uid_t uid)