Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
64f81867
Commit
64f81867
authored
Jun 30, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix setting "value" of config hints
parent
4f0ce189
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/modules/entry.c
src/modules/entry.c
+3
-3
No files found.
src/modules/entry.c
View file @
64f81867
...
...
@@ -261,7 +261,8 @@ int vlc_plugin_set (module_t *module, module_config_t *item, int propid, ...)
case
VLC_CONFIG_VALUE
:
{
if
(
IsConfigIntegerType
(
item
->
i_type
))
if
(
IsConfigIntegerType
(
item
->
i_type
)
||
!
CONFIG_ITEM
(
item
->
i_type
))
{
item
->
orig
.
i
=
item
->
value
.
i
=
va_arg
(
ap
,
int64_t
);
...
...
@@ -285,8 +286,7 @@ int vlc_plugin_set (module_t *module, module_config_t *item, int propid, ...)
case
VLC_CONFIG_RANGE
:
{
if
(
IsConfigIntegerType
(
item
->
i_type
)
||
item
->
i_type
==
CONFIG_ITEM_MODULE_LIST_CAT
||
item
->
i_type
==
CONFIG_ITEM_MODULE_CAT
)
||
!
CONFIG_ITEM
(
item
->
i_type
))
{
item
->
min
.
i
=
va_arg
(
ap
,
int64_t
);
item
->
max
.
i
=
va_arg
(
ap
,
int64_t
);
...
...
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