Commit b2ee1bcf authored by Fabio Ritrovato's avatar Fabio Ritrovato

No need to show service probes in the module list

parent e725aa5e
......@@ -1928,6 +1928,9 @@ static void ListModules( libvlc_int_t *p_this, bool b_verbose )
/* Enumerate each module */
for (size_t j = 0; (p_parser = list[j]) != NULL; j++)
{
if( !( p_parser->psz_capability &&
!strcmp( p_parser->psz_capability, "services probe" ) ) )
{
if( b_color )
utf8_fprintf( stdout, GREEN" %-22s "WHITE"%s\n"GRAY,
......@@ -1967,6 +1970,7 @@ static void ListModules( libvlc_int_t *p_this, bool b_verbose )
}
}
}
}
module_list_free (list);
#ifdef WIN32 /* Pause the console because it's destroyed when we exit */
......
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