[vlc-commits] commit: Do not apply playlist path to full URIs ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Mon Mar 8 20:45:21 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Mar 8 21:45:04 2010 +0200| [07a4bafe987d9fe56b26b19d48a8411bf3c47e22] | committer: Rémi Denis-Courmont
Do not apply playlist path to full URIs
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=07a4bafe987d9fe56b26b19d48a8411bf3c47e22
---
modules/demux/playlist/playlist.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/demux/playlist/playlist.c b/modules/demux/playlist/playlist.c
index cd8a264..3182fc4 100644
--- a/modules/demux/playlist/playlist.c
+++ b/modules/demux/playlist/playlist.c
@@ -243,6 +243,8 @@ char *ProcessMRL( const char *psz_mrl, const char *psz_prefix )
if( isalpha(psz_mrl[0]) && psz_mrl[1] == ':' )
goto uri;
#endif
+ if( strstr( psz_mrl, "://" ) )
+ return strdup( psz_mrl );
/* This a relative path, prepend the prefix */
char *ret;
More information about the vlc-commits
mailing list