Commit 84387c93 authored by Rémi Duraffort's avatar Rémi Duraffort

Lock the playlist here.

parent bf6e5c38
...@@ -295,9 +295,11 @@ static int Open( vlc_object_t *p_this ) ...@@ -295,9 +295,11 @@ static int Open( vlc_object_t *p_this )
p_sys->p_playlist = pl_Yield( p_sd ); p_sys->p_playlist = pl_Yield( p_sd );
/* Create our playlist node */ /* Create our playlist node */
vlc_object_lock( p_sys->p_playlist );
playlist_NodesPairCreate( pl_Get( p_sd ), _("Devices"), playlist_NodesPairCreate( pl_Get( p_sd ), _("Devices"),
&p_sys->p_node_cat, &p_sys->p_node_one, &p_sys->p_node_cat, &p_sys->p_node_one,
true ); true );
vlc_object_unlock( p_sys->p_playlist );
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
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