[vlc-devel] vlc: svn commit r10621 (sigmunau)

Subversion daemon svn at videolan.org
Sat Apr 9 16:57:23 CEST 2005


r10621 | sigmunau | 2005-04-09 16:57:23 +0200 (Sat, 09 Apr 2005) | 10 lines
Changed paths:
   M /trunk/modules/gui/wxwindows/playlist.cpp
   M /trunk/modules/gui/wxwindows/wxwindows.h

wx/playlist: never store the pointer to p_item when the playlist lock isn't
held. store p_playlist in wxvlc::Playlist since the class can't work without
p_playlist anyway. Strictly lock playlist when needed.

adds a lot of playlist_ItemGetById, and removes a lot of vlc_object_find
VLC_OBJECT_PLAYLIST).

This should fix a lot of potential deadlocks and crashes, including a few I
could reproduce

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list