Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
79fe764c
Commit
79fe764c
authored
Dec 08, 2004
by
zorglub
Browse files
Fix autoplayback with skins
parent
68a7c725
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/playlist/playlist.c
View file @
79fe764c
...
...
@@ -675,8 +675,7 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
/* Nothing requested */
if
(
!
p_playlist
->
request
.
b_request
&&
p_playlist
->
status
.
p_item
==
NULL
)
{
msg_Warn
(
p_playlist
,
"nothing requested"
);
return
NULL
;
msg_Dbg
(
p_playlist
,
"nothing requested, starting"
);
}
/* Repeat and play/stop */
...
...
@@ -692,7 +691,7 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
return
NULL
;
}
if
(
!
p_playlist
->
request
.
b_request
&&
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
,
"no-skip mode, stopping"
)
;
...
...
@@ -818,7 +817,6 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
{
p_playlist
->
request_date
=
0
;
if
(
p_playlist
->
status
.
i_view
==
-
1
)
{
if
(
p_playlist
->
i_index
+
1
<
p_playlist
->
i_size
)
...
...
src/playlist/view.c
View file @
79fe764c
...
...
@@ -340,7 +340,7 @@ int playlist_NodeEmpty( playlist_t *p_playlist, playlist_item_t *p_root,
* \return VLC_SUCCESS or an error
*/
int
playlist_NodeDelete
(
playlist_t
*
p_playlist
,
playlist_item_t
*
p_root
,
vlc_bool_t
b_delete_items
)
vlc_bool_t
b_delete_items
)
{
int
i
;
if
(
p_root
->
i_children
==
-
1
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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