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
331ee331
Commit
331ee331
authored
Aug 15, 2005
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/input/input.c: Really fixed :programs= this time.
parent
fddedbe8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
src/input/input.c
src/input/input.c
+8
-4
No files found.
src/input/input.c
View file @
331ee331
...
...
@@ -2340,7 +2340,11 @@ static void ParseOption( input_thread_t *p_input, const char *psz_option )
psz_name
=
strndup
(
psz_name
,
i_name_len
);
if
(
psz_value
)
psz_value
++
;
i_type
=
config_GetType
(
p_input
,
psz_name
);
/* FIXME: :programs should be handled generically */
if
(
!
strcmp
(
psz_name
,
"programs"
)
)
i_type
=
VLC_VAR_LIST
;
else
i_type
=
config_GetType
(
p_input
,
psz_name
);
if
(
!
i_type
&&
!
psz_value
)
{
...
...
@@ -2402,16 +2406,16 @@ static void ParseOption( input_thread_t *p_input, const char *psz_option )
while
(
psz_var
&&
*
psz_var
)
{
char
*
psz_item
=
psz_var
;
vlc_value_t
val
;
vlc_value_t
val
2
;
while
(
*
psz_var
&&
*
psz_var
!=
','
)
psz_var
++
;
if
(
*
psz_var
==
','
)
{
*
psz_var
=
'\0'
;
psz_var
++
;
}
val
.
i_int
=
strtol
(
psz_item
,
NULL
,
0
);
val
2
.
i_int
=
strtol
(
psz_item
,
NULL
,
0
);
INSERT_ELEM
(
p_list
->
p_values
,
p_list
->
i_count
,
p_list
->
i_count
,
val
);
p_list
->
i_count
,
val
2
);
/* p_list->i_count is incremented twice by INSERT_ELEM */
p_list
->
i_count
--
;
INSERT_ELEM
(
p_list
->
pi_types
,
p_list
->
i_count
,
...
...
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