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
2606ef55
Commit
2606ef55
authored
May 31, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not use b_die directly, and simplify
parent
a3069143
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
12 deletions
+6
-12
src/playlist/engine.c
src/playlist/engine.c
+6
-12
No files found.
src/playlist/engine.c
View file @
2606ef55
...
@@ -487,13 +487,10 @@ void playlist_PreparseLoop( playlist_preparse_t *p_obj )
...
@@ -487,13 +487,10 @@ void playlist_PreparseLoop( playlist_preparse_t *p_obj )
while
(
vlc_object_alive
(
p_obj
)
)
while
(
vlc_object_alive
(
p_obj
)
)
{
{
while
(
p_obj
->
i_waiting
==
0
)
if
(
p_obj
->
i_waiting
==
0
)
{
{
if
(
vlc_object_wait
(
p_obj
)
||
p_playlist
->
b_die
)
vlc_object_wait
(
p_obj
);
{
continue
;
vlc_object_unlock
(
p_obj
);
return
;
}
}
}
p_current
=
p_obj
->
pp_waiting
[
0
];
p_current
=
p_obj
->
pp_waiting
[
0
];
...
@@ -579,13 +576,10 @@ void playlist_FetcherLoop( playlist_fetcher_t *p_obj )
...
@@ -579,13 +576,10 @@ void playlist_FetcherLoop( playlist_fetcher_t *p_obj )
while
(
vlc_object_alive
(
p_obj
)
)
while
(
vlc_object_alive
(
p_obj
)
)
{
{
while
(
p_obj
->
i_waiting
==
0
)
if
(
p_obj
->
i_waiting
==
0
)
{
{
if
(
vlc_object_wait
(
p_obj
)
||
p_playlist
->
b_die
)
vlc_object_wait
(
p_obj
);
{
continue
;
vlc_mutex_unlock
(
&
p_obj
->
object_lock
);
return
;
}
}
}
p_item
=
p_obj
->
pp_waiting
[
0
];
p_item
=
p_obj
->
pp_waiting
[
0
];
...
...
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