Commit 067be17f authored by Pierre's avatar Pierre
Browse files

libvlc: Make sure we don't continue vlc exectution if no modules where found.

This is done to better diagnosticate misconfiguration of libvlc path.
parent cb5c7571
......@@ -475,6 +475,12 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
module_list_free( list );
msg_Dbg( p_libvlc, "module bank initialized (%zu modules)", module_count );
if( module_count <= 1)
msg_Err( p_libvlc, "No modules were found, refusing to start. Check "
"that you properly gave a module path with --plugin-path.");
/* Check for help on modules */
if( (p_tmp = config_GetPsz( p_libvlc, "module" )) )
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