Commit 6cc9595d authored by Rémi Duraffort's avatar Rémi Duraffort

The playlist is not lock at this stage so let it lock itself.

parent 15aaa8cb
......@@ -961,7 +961,7 @@ CDDAFixupPlaylist( access_t *p_access, cdda_data_t *p_cdda,
if( b_play )
{
playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, true,
playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, false,
p_playlist->status.p_item, NULL );
}
......
......@@ -510,7 +510,7 @@ static void FollowAnchor ( intf_thread_t *p_intf )
msg_Dbg( p_intf, "calling browser_Open with \"%s\"", psz_url );
#endif
(void) browser_Open( psz_url );
playlist_Control( p_playlist, PLAYLIST_PAUSE, true, 0 );
playlist_Control( p_playlist, PLAYLIST_PAUSE, false, 0 );
}
free( psz_uri_to_load );
......
......@@ -1417,7 +1417,7 @@ static int Playlist( vlc_object_t *p_this, char const *psz_cmd,
p_item = p_parent = p_playlist->items.p_elems[i_pos*2-1];
while( p_parent->p_parent )
p_parent = p_parent->p_parent;
playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, true,
playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, false,
p_parent, p_item );
}
else
......
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