Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
edcbf581
Commit
edcbf581
authored
Nov 24, 2004
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix input-slave parser
parent
5b2069fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
15 deletions
+12
-15
src/input/input.c
src/input/input.c
+12
-15
No files found.
src/input/input.c
View file @
edcbf581
...
@@ -715,23 +715,21 @@ static int Init( input_thread_t * p_input )
...
@@ -715,23 +715,21 @@ static int Init( input_thread_t * p_input )
psz
=
var_GetString
(
p_input
,
"input-slave"
);
psz
=
var_GetString
(
p_input
,
"input-slave"
);
if
(
*
psz
)
if
(
*
psz
)
{
{
char
*
psz_delim
=
strchr
(
psz
,
'#'
)
;
char
*
psz_delim
;
input_source_t
*
slave
;
for
(
;;
)
while
(
psz
&&
*
psz
)
{
{
input_source_t
*
slave
;
while
(
*
psz
==
' '
||
*
psz
==
'#'
)
{
if
(
psz_delim
)
psz
++
;
}
if
(
(
psz_delim
=
strchr
(
psz
,
'#'
)
)
)
{
{
*
psz_delim
++
=
'\0'
;
*
psz_delim
++
=
'\0'
;
}
}
if
(
*
psz
==
0
)
if
(
*
psz
==
'\0'
)
{
{
if
(
psz_delim
)
break
;
continue
;
else
break
;
}
}
msg_Dbg
(
p_input
,
"adding slave '%s'"
,
psz
);
msg_Dbg
(
p_input
,
"adding slave '%s'"
,
psz
);
...
@@ -740,11 +738,10 @@ static int Init( input_thread_t * p_input )
...
@@ -740,11 +738,10 @@ static int Init( input_thread_t * p_input )
{
{
TAB_APPEND
(
p_input
->
i_slave
,
p_input
->
slave
,
slave
);
TAB_APPEND
(
p_input
->
i_slave
,
p_input
->
slave
,
slave
);
}
}
if
(
!
psz_delim
)
psz
=
psz_delim
;
break
;
}
}
free
(
psz
);
}
}
free
(
psz
);
/* Set up es_out */
/* Set up es_out */
es_out_Control
(
p_input
->
p_es_out
,
ES_OUT_SET_ACTIVE
,
VLC_TRUE
);
es_out_Control
(
p_input
->
p_es_out
,
ES_OUT_SET_ACTIVE
,
VLC_TRUE
);
...
...
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