Commit fe408e0f authored by Jean-Paul Saman's avatar Jean-Paul Saman

activex: missing media_list lock/unlock

Signed-off-by: Jean-Paul Saman's avatarJean-Paul Saman <jean-paul.saman@m2x.nl>
parent 5a8c9690
......@@ -270,7 +270,11 @@ public:
void playlist_delete_item(int idx)
{
if( _p_mlist )
{
libvlc_media_list_lock(_p_mlist);
libvlc_media_list_remove_index(_p_mlist,idx);
libvlc_media_list_unlock(_p_mlist);
}
}
void playlist_clear()
{
......
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