[vlc-commits] Fix non-file input slaves
Rémi Denis-Courmont
git at videolan.org
Thu Aug 23 14:19:03 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 23 15:17:38 2012 +0300| [71f0a5f54a7597dbb1434b1274fa0e6d41da1595] | committer: Rémi Denis-Courmont
Fix non-file input slaves
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=71f0a5f54a7597dbb1434b1274fa0e6d41da1595
---
src/input/input.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/input/input.c b/src/input/input.c
index e35bd85..aabb3d6 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -1099,7 +1099,8 @@ static void LoadSlaves( input_thread_t *p_input )
if( *psz == 0 )
break;
- char *uri = vlc_path2uri( psz, NULL );
+ char *uri = strstr(psz, "://")
+ ? strdup( psz ) : vlc_path2uri( psz, NULL );
psz = psz_delim;
if( uri == NULL )
continue;
More information about the vlc-commits
mailing list