Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
b2ee1bcf
Commit
b2ee1bcf
authored
Dec 23, 2009
by
Fabio Ritrovato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to show service probes in the module list
parent
e725aa5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
29 deletions
+33
-29
src/libvlc.c
src/libvlc.c
+33
-29
No files found.
src/libvlc.c
View file @
b2ee1bcf
...
...
@@ -1929,41 +1929,45 @@ 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
(
b_color
)
utf8_fprintf
(
stdout
,
GREEN
" %-22s "
WHITE
"%s
\n
"
GRAY
,
p_parser
->
psz_object_name
,
_
(
p_parser
->
psz_longname
)
);
else
utf8_fprintf
(
stdout
,
" %-22s %s
\n
"
,
p_parser
->
psz_object_name
,
_
(
p_parser
->
psz_longname
)
);
if
(
b_verbose
)
if
(
!
(
p_parser
->
psz_capability
&&
!
strcmp
(
p_parser
->
psz_capability
,
"services probe"
)
)
)
{
char
*
const
*
pp_shortcut
=
p_parser
->
pp_shortcuts
;
while
(
*
pp_shortcut
)
if
(
b_color
)
utf8_fprintf
(
stdout
,
GREEN
" %-22s "
WHITE
"%s
\n
"
GRAY
,
p_parser
->
psz_object_name
,
_
(
p_parser
->
psz_longname
)
);
else
utf8_fprintf
(
stdout
,
" %-22s %s
\n
"
,
p_parser
->
psz_object_name
,
_
(
p_parser
->
psz_longname
)
);
if
(
b_verbose
)
{
if
(
strcmp
(
*
pp_shortcut
,
p_parser
->
psz_object_name
)
)
char
*
const
*
pp_shortcut
=
p_parser
->
pp_shortcuts
;
while
(
*
pp_shortcut
)
{
if
(
strcmp
(
*
pp_shortcut
,
p_parser
->
psz_object_name
)
)
{
if
(
b_color
)
utf8_fprintf
(
stdout
,
CYAN
" s %s
\n
"
GRAY
,
*
pp_shortcut
);
else
utf8_fprintf
(
stdout
,
" s %s
\n
"
,
*
pp_shortcut
);
}
pp_shortcut
++
;
}
if
(
p_parser
->
psz_capability
)
{
if
(
b_color
)
utf8_fprintf
(
stdout
,
CYAN
" s %s
\n
"
GRAY
,
*
pp_shortcut
);
utf8_fprintf
(
stdout
,
MAGENTA
" c %s (%d)
\n
"
GRAY
,
p_parser
->
psz_capability
,
p_parser
->
i_score
);
else
utf8_fprintf
(
stdout
,
" s %s
\n
"
,
*
pp_shortcut
);
utf8_fprintf
(
stdout
,
" c %s (%d)
\n
"
,
p_parser
->
psz_capability
,
p_parser
->
i_score
);
}
pp_shortcut
++
;
}
if
(
p_parser
->
psz_capability
)
{
if
(
b_color
)
utf8_fprintf
(
stdout
,
MAGENTA
" c %s (%d)
\n
"
GRAY
,
p_parser
->
psz_capability
,
p_parser
->
i_score
);
else
utf8_fprintf
(
stdout
,
" c %s (%d)
\n
"
,
p_parser
->
psz_capability
,
p_parser
->
i_score
);
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment