projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bb20d3
)
[libdvdread] Fix Playback of VIDEO_TS folders broken on SMB and NFS - thx @kraqh3d
author
Voyager1
<voyager@xbmc.org>
Fri, 10 May 2013 14:29:11 +0000
(16:29 +0200)
committer
Voyager1
<voyager@xbmc.org>
Fri, 10 May 2013 18:36:18 +0000
(20:36 +0200)
lib/libdvd/libdvdread/src/dvd_reader.c
patch
|
blob
|
history
diff --git
a/lib/libdvd/libdvdread/src/dvd_reader.c
b/lib/libdvd/libdvdread/src/dvd_reader.c
index
d7ff12e
..
f5ee550
100644
(file)
--- a/
lib/libdvd/libdvdread/src/dvd_reader.c
+++ b/
lib/libdvd/libdvdread/src/dvd_reader.c
@@
-429,6
+429,9
@@
dvd_reader_t *DVDOpen( const char *ppath )
/* Also WIN32 does not have symlinks, so we don't need this bit of code. */
/* Resolve any symlinks and get the absolute dir name. */
+#if defined(_XBMC) /* for XBMC, only do symlink resolution for (real) non-xbmc-VFS paths */
+ if ( path[0] == '/' )
+#endif // _XBMC
{
if( ( cdir = open( ".", O_RDONLY ) ) >= 0 ) {
if( chdir( path_copy ) == -1 ) {