Changeset 47e1374a4ece32cb234b361da3dccfb1f846e7ee

Show
Ignore:
Timestamp:
30/05/08 17:54:39 (6 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1212162879 +0200
git-parent:

[21702e21867f9c7134865397eb6e19e994636149]

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

libvlc: Don't wait if p_libvlc is dying in libvlc_wait().

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/control/core.c

    r19091cc r47e1374  
    178178    libvlc_int_t *p_libvlc = p_i->p_libvlc_int; 
    179179    vlc_object_lock( p_libvlc ); 
    180     while( !vlc_object_wait( p_libvlc ) ); 
     180    if( vlc_object_alive( p_libvlc ) ) 
     181        while( !vlc_object_wait( p_libvlc ) ); 
    181182    vlc_object_unlock( p_libvlc ); 
    182183}