Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
aba3de33
Commit
aba3de33
authored
Sep 16, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly handle "no-skip" items
parent
c5100112
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
src/playlist/control.c
src/playlist/control.c
+11
-4
No files found.
src/playlist/control.c
View file @
aba3de33
...
@@ -273,11 +273,18 @@ playlist_item_t * playlist_NextItem( playlist_t *p_playlist )
...
@@ -273,11 +273,18 @@ playlist_item_t * playlist_NextItem( playlist_t *p_playlist )
return
NULL
;
return
NULL
;
}
}
if
(
!
p_playlist
->
request
.
b_request
&&
p_playlist
->
status
.
p_item
&&
if
(
!
p_playlist
->
request
.
b_request
&&
p_playlist
->
status
.
p_item
)
p_playlist
->
status
.
p_item
->
i_flags
&
PLAYLIST_SKIP_FLAG
)
{
{
msg_Dbg
(
p_playlist
,
"blocking item, stopping"
)
;
playlist_item_t
*
p_parent
=
p_playlist
->
status
.
p_item
;
return
NULL
;
while
(
p_parent
)
{
if
(
p_parent
->
i_flags
&
PLAYLIST_SKIP_FLAG
)
{
msg_Dbg
(
p_playlist
,
"blocking item, stopping"
)
;
return
NULL
;
}
p_parent
=
p_parent
->
p_parent
;
}
}
}
/* Random case. This is an exception: if request, but request is skip +- 1
/* Random case. This is an exception: if request, but request is skip +- 1
...
...
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