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
824bc1c0
Commit
824bc1c0
authored
Jan 27, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Partially cleanup old module_list_cat hack
parent
3a427169
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
include/vlc_plugin.h
include/vlc_plugin.h
+2
-2
src/modules/entry.c
src/modules/entry.c
+3
-1
No files found.
include/vlc_plugin.h
View file @
824bc1c0
...
...
@@ -326,12 +326,12 @@ enum vlc_config_properties
#define add_module_cat( name, i_subcategory, value, p_callback, text, longtext, advc ) \
add_string_inner( CONFIG_ITEM_MODULE_CAT, name, text, longtext, advc, \
p_callback, value ) \
p_config->min.i = i_subcategory
/* gruik */
;
change_integer_range (i_subcategory
/* gruik */
, 0)
;
#define add_module_list_cat( name, i_subcategory, value, p_callback, text, longtext, advc ) \
add_string_inner( CONFIG_ITEM_MODULE_LIST_CAT, name, text, longtext, \
advc, p_callback, value ) \
p_config->min.i = i_subcategory
/* gruik */
;
change_integer_range (i_subcategory
/* gruik */
, 0)
;
#endif
#define add_integer( name, value, p_callback, text, longtext, advc ) \
...
...
src/modules/entry.c
View file @
824bc1c0
...
...
@@ -299,7 +299,9 @@ int vlc_config_set (module_config_t *restrict item, int id, ...)
case
VLC_CONFIG_RANGE
:
{
if
(
IsConfigIntegerType
(
item
->
i_type
))
if
(
IsConfigIntegerType
(
item
->
i_type
)
||
item
->
i_type
==
CONFIG_ITEM_MODULE_LIST_CAT
||
item
->
i_type
==
CONFIG_ITEM_MODULE_CAT
)
{
item
->
min
.
i
=
va_arg
(
ap
,
int
);
item
->
max
.
i
=
va_arg
(
ap
,
int
);
...
...
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