Commit d8fc9a87 authored by Cyril Deguet's avatar Cyril Deguet

* playlist.c: hopefully fixed the playlist screwed up for a so

 long time... (now "Next" is working in non-view mode)
parent 5cb15dcd
...@@ -443,12 +443,17 @@ int playlist_vaControl( playlist_t * p_playlist, int i_query, va_list args ) ...@@ -443,12 +443,17 @@ int playlist_vaControl( playlist_t * p_playlist, int i_query, va_list args )
break; break;
case PLAYLIST_SKIP: case PLAYLIST_SKIP:
p_playlist->request.i_view = p_playlist->status.i_view;
if( p_playlist->status.i_view > -1 ) if( p_playlist->status.i_view > -1 )
{ {
p_playlist->request.i_view = p_playlist->status.i_view;
p_playlist->request.p_node = p_playlist->status.p_node; p_playlist->request.p_node = p_playlist->status.p_node;
p_playlist->request.p_item = p_playlist->status.p_item; p_playlist->request.p_item = p_playlist->status.p_item;
} }
else
{
p_playlist->request.p_node = NULL;
p_playlist->request.p_item = NULL;
}
p_playlist->request.i_skip = (int) va_arg( args, int ); p_playlist->request.i_skip = (int) va_arg( args, int );
p_playlist->request.b_request = VLC_TRUE; p_playlist->request.b_request = VLC_TRUE;
break; break;
......
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