Commit 79fe764c authored by Clément Stenac's avatar Clément Stenac

Fix autoplayback with skins

parent 68a7c725
...@@ -675,8 +675,7 @@ static playlist_item_t * NextItem( playlist_t *p_playlist ) ...@@ -675,8 +675,7 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
/* Nothing requested */ /* Nothing requested */
if( !p_playlist->request.b_request && p_playlist->status.p_item == NULL ) if( !p_playlist->request.b_request && p_playlist->status.p_item == NULL )
{ {
msg_Warn( p_playlist,"nothing requested" ); msg_Dbg( p_playlist,"nothing requested, starting" );
return NULL;
} }
/* Repeat and play/stop */ /* Repeat and play/stop */
...@@ -692,7 +691,7 @@ static playlist_item_t * NextItem( playlist_t *p_playlist ) ...@@ -692,7 +691,7 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
return NULL; 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) ) !(p_playlist->status.p_item->i_flags & PLAYLIST_SKIP_FLAG) )
{ {
msg_Dbg( p_playlist, "no-skip mode, stopping") ; msg_Dbg( p_playlist, "no-skip mode, stopping") ;
...@@ -818,7 +817,6 @@ static playlist_item_t * NextItem( playlist_t *p_playlist ) ...@@ -818,7 +817,6 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
{ {
p_playlist->request_date = 0; p_playlist->request_date = 0;
if( p_playlist->status.i_view == -1 ) if( p_playlist->status.i_view == -1 )
{ {
if( p_playlist->i_index + 1 < p_playlist->i_size ) if( p_playlist->i_index + 1 < p_playlist->i_size )
......
...@@ -340,7 +340,7 @@ int playlist_NodeEmpty( playlist_t *p_playlist, playlist_item_t *p_root, ...@@ -340,7 +340,7 @@ int playlist_NodeEmpty( playlist_t *p_playlist, playlist_item_t *p_root,
* \return VLC_SUCCESS or an error * \return VLC_SUCCESS or an error
*/ */
int playlist_NodeDelete( playlist_t *p_playlist, playlist_item_t *p_root, 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; int i;
if( p_root->i_children == -1 ) if( p_root->i_children == -1 )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment