1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-04 09:11:33 +02:00

SAP: yield and release the playlist

This commit is contained in:
Rémi Denis-Courmont 2008-05-07 21:18:49 +03:00
parent 6dad9cd75c
commit 0d9ed88c6b

View File

@ -1524,7 +1524,11 @@ static int RemoveAnnounce( services_discovery_t *p_sd,
}
if( p_announce->i_input_id > -1 )
playlist_DeleteFromInput( pl_Get(p_sd), p_announce->i_input_id, false );
{
playlist_DeleteFromInput( pl_Yield( p_sd ),
p_announce->i_input_id, false );
pl_Release( p_sd );
}
for( i = 0; i< p_sd->p_sys->i_announces; i++)
{