Commit 3a2e81d0 authored by Clément Stenac's avatar Clément Stenac

Don't forget to reset skipping when adding a new item

Fix a debug message
parent 4c7f87a7
......@@ -358,11 +358,11 @@ end:
/* Start the real work */
if( p_playlist->request.b_request )
{
p_new = p_playlist->request.p_item;
i_skip = p_playlist->request.i_skip;
PL_DEBUG( "processing request item %s node %s skip %i",
PLI_NAME( p_playlist->request.p_item ),
PLI_NAME( p_playlist->request.p_node ), i_skip );
p_new = p_playlist->request.p_item;
i_skip = p_playlist->request.i_skip;
if( p_playlist->request.p_node )
p_playlist->status.p_node = p_playlist->request.p_node;
......
......@@ -542,6 +542,7 @@ void GoAndPreparse( playlist_t *p_playlist, int i_mode,
}
assert( p_toplay );
p_playlist->request.b_request = VLC_TRUE;
p_playlist->request.i_skip = 0;
p_playlist->request.p_item = p_toplay;
if( p_playlist->p_input )
{
......
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