Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
aadabf1c
Commit
aadabf1c
authored
Feb 10, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/libvlc.c: help now prints the list of integer values.
parent
e512e5be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
7 deletions
+19
-7
src/libvlc.c
src/libvlc.c
+19
-7
No files found.
src/libvlc.c
View file @
aadabf1c
...
...
@@ -1950,12 +1950,9 @@ static void Usage( vlc_t *p_this, char const *psz_module_name )
case
CONFIG_ITEM_MODULE_CAT
:
case
CONFIG_ITEM_MODULE_LIST
:
case
CONFIG_ITEM_MODULE_LIST_CAT
:
if
(
!
p_item
->
ppsz_list
)
{
psz_bra
=
" <"
;
psz_type
=
_
(
"string"
);
psz_ket
=
">"
;
break
;
}
else
psz_bra
=
" <"
;
psz_type
=
_
(
"string"
);
psz_ket
=
">"
;
if
(
p_item
->
ppsz_list
)
{
psz_bra
=
" {"
;
psz_type
=
psz_buffer
;
...
...
@@ -1966,11 +1963,26 @@ static void Usage( vlc_t *p_this, char const *psz_module_name )
strcat
(
psz_type
,
p_item
->
ppsz_list
[
i
]
);
}
psz_ket
=
"}"
;
break
;
}
break
;
case
CONFIG_ITEM_INTEGER
:
case
CONFIG_ITEM_KEY
:
/* FIXME: do something a bit more clever */
psz_bra
=
" <"
;
psz_type
=
_
(
"integer"
);
psz_ket
=
">"
;
if
(
p_item
->
i_list
)
{
psz_bra
=
" {"
;
psz_type
=
psz_buffer
;
psz_type
[
0
]
=
'\0'
;
for
(
i
=
0
;
p_item
->
ppsz_list_text
[
i
];
i
++
)
{
if
(
i
)
strcat
(
psz_type
,
", "
);
sprintf
(
psz_type
+
strlen
(
psz_type
),
"%i (%s)"
,
p_item
->
pi_list
[
i
],
p_item
->
ppsz_list_text
[
i
]
);
}
psz_ket
=
"}"
;
}
break
;
case
CONFIG_ITEM_FLOAT
:
psz_bra
=
" <"
;
psz_type
=
_
(
"float"
);
psz_ket
=
">"
;
...
...
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