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

libvlc: add SD plugins one by one

parent b43776e5
...@@ -830,11 +830,13 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, ...@@ -830,11 +830,13 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
playlist_Activate( p_playlist ); playlist_Activate( p_playlist );
vlc_object_attach( p_playlist, p_libvlc ); vlc_object_attach( p_playlist, p_libvlc );
/* Add service discovery modules */
psz_modules = config_GetPsz( p_playlist, "services-discovery" ); psz_modules = config_GetPsz( p_playlist, "services-discovery" );
if( psz_modules && *psz_modules ) if( psz_modules && *psz_modules )
{ {
/* Add service discovery modules */ char *p = psz_modules, *m;
playlist_ServicesDiscoveryAdd( p_playlist, psz_modules ); while( ( m = strsep( &p, " :," ) ) != NULL )
playlist_ServicesDiscoveryAdd( p_playlist, m );
} }
free( psz_modules ); free( psz_modules );
......
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