Changeset 6475cab1130971b2bd135ecb5595c9bd0f5f7b15

Show
Ignore:
Timestamp:
05/28/08 01:25:36 (3 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1211930736 +0200
git-parent:

[ee6f60d7278f9d45835522eb60c247ee8bef77ac]

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

video_output: Don't use vlc_object_find to look for the playlist.

We shouldn't look for the playlist from the vout too... but...

Files:

Legend:

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

    r8455686 r6475cab  
    510510    vout_thread_t *p_another_vout; 
    511511 
    512     playlist_t *p_playlist = vlc_object_find( p_this->p_libvlc, 
    513                                         VLC_OBJECT_PLAYLIST, FIND_ANYWHERE ); 
     512    playlist_t *p_playlist = pl_Yield( p_this ); 
    514513    if( !p_playlist ) 
    515514        return; 
     
    526525    else 
    527526        vlc_object_release( p_another_vout ); 
    528     vlc_object_release( p_playlist ); 
     527    pl_Release( p_playlist ); 
    529528#endif 
    530529}