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
9ee23d40
Commit
9ee23d40
authored
Nov 26, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: remove unnecessary vlc_object_alive() checks
parent
a0ea1e5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
src/playlist/thread.c
src/playlist/thread.c
+2
-6
No files found.
src/playlist/thread.c
View file @
9ee23d40
...
...
@@ -446,12 +446,13 @@ static void LoopInput( playlist_t *p_playlist )
assert
(
p_input
!=
NULL
);
if
(
(
p_sys
->
request
.
b_request
||
p_sys
->
killed
)
&&
vlc_object_alive
(
p_input
)
)
if
(
p_sys
->
request
.
b_request
||
p_sys
->
killed
)
{
PL_DEBUG
(
"incoming request - stopping current input"
);
input_Stop
(
p_input
,
true
);
}
#warning Unsynchronized access to *p_input flags...
/* This input is dead. Remove it ! */
if
(
p_input
->
b_dead
)
{
...
...
@@ -470,11 +471,6 @@ static void LoopInput( playlist_t *p_playlist )
PL_LOCK
;
return
;
}
/* This input is dying, let it do */
else
if
(
!
vlc_object_alive
(
p_input
)
)
{
PL_DEBUG
(
"dying input"
);
}
/* This input has finished, ask it to die ! */
else
if
(
p_input
->
b_error
||
p_input
->
b_eof
)
{
...
...
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