]> git.sesse.net Git - vlc/commitdiff
macosx: The playlist is unlocked at this time, so playlist_Control() needs to lock it.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 8 Jul 2008 20:57:05 +0000 (22:57 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 8 Jul 2008 20:57:05 +0000 (22:57 +0200)
This fixes an input and input item leak.

IMHO, such typo are so easy, we need to fix that up. (macosx module is full of those).

modules/gui/macosx/playlist.m

index 6fe2531aedb507dd75d45d177409ee89e2a3c175..9be1f6b2a2be4902d9664f7c5b86a04a5c03dac8 100644 (file)
                 p_item = NULL;
             }
         }
-        playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, true, p_node, p_item );
+        playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, false, p_node, p_item );
     }
     vlc_object_release( p_playlist );
 }