Commit 79fe764c authored by zorglub's avatar zorglub
Browse files

Fix autoplayback with skins

parent 68a7c725
......@@ -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 )
......
......@@ -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 )
......
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