[vlc-devel] [PATCH] playlist/item: input_item_add_subitem_tree: do not try to lock already locked playlist

Filip Roséen filip at atch.se
Thu May 18 20:14:25 CEST 2017


This is a fixup of 6f63de1, which accidentally resulted in the
implementation trying to acquire an already acquired mutex.
---
 src/playlist/item.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/playlist/item.c b/src/playlist/item.c
index c2ea664a7d..5616ad2181 100644
--- a/src/playlist/item.c
+++ b/src/playlist/item.c
@@ -165,7 +165,7 @@ static void input_item_add_subitem_tree ( const vlc_event_t * p_event,
     {
         if( ( b_stop && !b_flat ) || !b_autostart )
         {
-            playlist_Stop( p_playlist );
+            playlist_Control( p_playlist, PLAYLIST_STOP, pl_Locked );
         }
         else if( last_pos != pos ) /* any children? */
         {
-- 
2.12.2


More information about the vlc-devel mailing list