Commit 4434af13 authored by Rémi Duraffort's avatar Rémi Duraffort

playlist: add a fixme => race condition.

parent 5d90c3fa
......@@ -299,7 +299,7 @@ static int PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
free( psz_arturl );
free( psz_name );
}
/* FIXME: this is not safe !!*/
PL_UNLOCK;
var_SetAddress( p_playlist, "item-current", p_input );
PL_LOCK;
......
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