Changeset a717f3bb306a96e04a1ef0993a4f379d307ffa49

Show
Ignore:
Timestamp:
06/01/08 00:19:11 (3 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1212272351 +0200
git-parent:

[dc6b4028e188f28131b487e6ea817de150c2eecd]

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

libvlccore: Don't do vout destruction before destroying playlist.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/libvlc.c

    r91bf963 ra717f3b  
    939939    } 
    940940 
    941     /* Free video outputs */ 
    942     msg_Dbg( p_libvlc, "removing all video outputs" ); 
    943     while( (p_vout = vlc_object_find( p_libvlc, VLC_OBJECT_VOUT, FIND_CHILD )) ) 
    944     { 
    945         vlc_object_detach( p_vout ); 
    946         vlc_object_release( p_vout ); 
    947         vout_Destroy( p_vout ); 
    948     } 
    949  
    950941#ifdef ENABLE_SOUT 
    951942    playlist_t         * p_playlist; 
     
    981972    msg_Dbg( p_libvlc, "removing interaction" ); 
    982973    vlc_object_release( priv->p_interaction ); 
     974 
     975    /* Free video outputs */ 
     976    msg_Dbg( p_libvlc, "removing all video outputs" ); 
     977    while( (p_vout = vlc_object_find( p_libvlc, VLC_OBJECT_VOUT, FIND_CHILD )) ) 
     978    { 
     979        vlc_object_detach( p_vout ); 
     980        vlc_object_release( p_vout ); 
     981        vout_Destroy( p_vout ); 
     982    } 
    983983 
    984984    stats_TimersDumpAll( p_libvlc );