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
35f50bdc
Commit
35f50bdc
authored
Jun 05, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
podcast: use input "state" variable instead of b_eof/b_error
parent
72b8c9e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/services_discovery/podcast.c
modules/services_discovery/podcast.c
+2
-1
No files found.
modules/services_discovery/podcast.c
View file @
35f50bdc
...
@@ -235,8 +235,9 @@ static void *Run( void *data )
...
@@ -235,8 +235,9 @@ static void *Run( void *data )
for
(
int
i
=
0
;
i
<
p_sd
->
p_sys
->
i_input
;
i
++
)
for
(
int
i
=
0
;
i
<
p_sd
->
p_sys
->
i_input
;
i
++
)
{
{
input_thread_t
*
p_input
=
p_sd
->
p_sys
->
pp_input
[
i
];
input_thread_t
*
p_input
=
p_sd
->
p_sys
->
pp_input
[
i
];
int
state
=
var_GetInteger
(
p_input
,
"state"
);
if
(
p_input
->
b_eof
||
p_input
->
b_error
)
if
(
state
==
END_S
||
state
==
ERROR_S
)
{
{
input_Stop
(
p_input
);
input_Stop
(
p_input
);
input_Close
(
p_input
);
input_Close
(
p_input
);
...
...
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