Commit ec32411a authored by Rémi Duraffort's avatar Rémi Duraffort

The playlist is not lock for the moment.

parent 99f299c6
...@@ -877,7 +877,7 @@ static int TrackListChangeEmit( vlc_object_t *p_this, const char *psz_var, ...@@ -877,7 +877,7 @@ static int TrackListChangeEmit( vlc_object_t *p_this, const char *psz_var,
playlist_t *p_playlist = (playlist_t*)p_this; playlist_t *p_playlist = (playlist_t*)p_this;
playlist_add_t *p_add = newval.p_address; playlist_add_t *p_add = newval.p_address;
playlist_item_t *p_item; playlist_item_t *p_item;
p_item = playlist_ItemGetById( p_playlist, p_add->i_node, true ); p_item = playlist_ItemGetById( p_playlist, p_add->i_node, false );
assert( p_item ); assert( p_item );
while( p_item->p_parent ) while( p_item->p_parent )
p_item = p_item->p_parent; p_item = p_item->p_parent;
......
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