Changeset 73afb6b2f07bf61abb4429eaf081f88d42f3bf73

Show
Ignore:
Timestamp:
11/30/07 16:23:31 (9 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1196436211 +0000
git-parent:

[1cd30bd1fba12f4735dfea609f74a55042e3a9f7]

git-author:
Pierre d'Herbemont <pdherbemont@videolan.org> 1196436211 +0000
Message:

MacOSX/Framework/VLCMediaList.m: Don't lock in initMediaListInternal, we risk double lock.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • extras/MacOSX/Framework/Sources/VLCMediaList.m

    ra1a89a9 r73afb6b  
    252252{ 
    253253    // Add event callbacks 
    254     [self lock]; 
    255254    libvlc_exception_t p_e; 
    256255    libvlc_exception_init(&p_e); 
     
    259258    libvlc_event_attach( p_em, libvlc_MediaListItemAdded,   HandleMediaListItemAdded,   self, &p_e ); 
    260259    libvlc_event_attach( p_em, libvlc_MediaListItemDeleted, HandleMediaListItemDeleted, self, &p_e ); 
    261     [self unlock]; 
    262260     
    263261    quit_on_exception( &p_e );