Commit 3b07cce3 authored by Rémi Duraffort's avatar Rémi Duraffort

The playlist is locked here : should fix #1751 (patch by marcolz)

parent ed344453
...@@ -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, pl_Unlocked ); p_item = playlist_ItemGetById( p_playlist, p_add->i_node, pl_Locked );
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