Commit 0d9ed88c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

SAP: yield and release the playlist

parent 6dad9cd7
...@@ -1524,7 +1524,11 @@ static int RemoveAnnounce( services_discovery_t *p_sd, ...@@ -1524,7 +1524,11 @@ static int RemoveAnnounce( services_discovery_t *p_sd,
} }
if( p_announce->i_input_id > -1 ) 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++) for( i = 0; i< p_sd->p_sys->i_announces; i++)
{ {
......
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