From b7d39d41515a9ecff1b34c0bb4cec7f4ca4e454e Mon Sep 17 00:00:00 2001 From: Jean-Paul Saman Date: Tue, 16 Feb 2010 10:00:24 +0100 Subject: [PATCH] activex: missing media_list lock/unlock Signed-off-by: Jean-Paul Saman --- projects/activex/plugin.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/activex/plugin.h b/projects/activex/plugin.h index 8541262d8e..388e7329d1 100644 --- a/projects/activex/plugin.h +++ b/projects/activex/plugin.h @@ -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() { -- 2.39.5