Commit 71f0a5f5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix non-file input slaves

parent b6b914ef
...@@ -1099,7 +1099,8 @@ static void LoadSlaves( input_thread_t *p_input ) ...@@ -1099,7 +1099,8 @@ static void LoadSlaves( input_thread_t *p_input )
if( *psz == 0 ) if( *psz == 0 )
break; break;
char *uri = vlc_path2uri( psz, NULL ); char *uri = strstr(psz, "://")
? strdup( psz ) : vlc_path2uri( psz, NULL );
psz = psz_delim; psz = psz_delim;
if( uri == NULL ) if( uri == NULL )
continue; continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment