Commit b88c8a03 authored by Gildas Bazin's avatar Gildas Bazin

* src/libvlc.c, src/playlist/services_discovery.c: fixed --services-discovery...

* src/libvlc.c, src/playlist/services_discovery.c: fixed --services-discovery and --extraintf to use the new modules list syntax.
parent 72dc309c
......@@ -669,7 +669,7 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
{
psz_modules = (char *)realloc( psz_modules, strlen( psz_modules ) +
strlen( psz_control ) + 1 );
sprintf( psz_modules, "%s,%s", psz_modules, psz_control );
sprintf( psz_modules, "%s:%s", psz_modules, psz_control );
}
else if( psz_control && *psz_control )
{
......@@ -682,7 +682,7 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
{
char *psz_module, *psz_temp;
psz_module = psz_parser;
psz_parser = strchr( psz_module, ',' );
psz_parser = strchr( psz_module, ':' );
if ( psz_parser )
{
*psz_parser = '\0';
......
......@@ -153,12 +153,12 @@ int playlist_AddSDModules( playlist_t *p_playlist, char *psz_modules )
while( psz_parser && *psz_parser )
{
while( *psz_parser == ' ' || *psz_parser == ',' )
while( *psz_parser == ' ' || *psz_parser == ':' )
{
psz_parser++;
}
if( (psz_next = strchr( psz_parser, ',' ) ) )
if( (psz_next = strchr( psz_parser, ':' ) ) )
{
*psz_next++ = '\0';
}
......
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