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
82a358ac
Commit
82a358ac
authored
May 06, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #1487 - race condition
parent
ce7d502e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
src/playlist/control.c
src/playlist/control.c
+1
-0
src/playlist/engine.c
src/playlist/engine.c
+3
-1
No files found.
src/playlist/control.c
View file @
82a358ac
...
...
@@ -437,6 +437,7 @@ playlist_item_t * playlist_NextItem( playlist_t *p_playlist )
p_playlist
->
status
.
p_item
);
p_playlist
->
i_current_index
++
;
assert
(
p_playlist
->
i_current_index
<=
p_playlist
->
current
.
i_size
);
if
(
p_playlist
->
i_current_index
==
p_playlist
->
current
.
i_size
)
{
if
(
!
b_loop
||
p_playlist
->
current
.
i_size
==
0
)
return
NULL
;
...
...
src/playlist/engine.c
View file @
82a358ac
...
...
@@ -352,7 +352,9 @@ check_input:
* - Request, running requested -> start new item
* - Request, stopped requested -> collect garbage
*/
if
(
p_playlist
->
request
.
i_status
!=
PLAYLIST_STOPPED
)
int
i_status
=
p_playlist
->
request
.
b_request
?
p_playlist
->
request
.
i_status
:
p_playlist
->
status
.
i_status
;
if
(
i_status
!=
PLAYLIST_STOPPED
)
{
msg_Dbg
(
p_playlist
,
"starting new item"
);
p_item
=
playlist_NextItem
(
p_playlist
);
...
...
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