Changeset 0c9a964bf7b8face64b103ad99c1865f85d2bf29

Show
Ignore:
Timestamp:
05/28/08 17:42:00 (3 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1211989320 +0200
git-parent:

[dd61f37b57429f10db99ffef010ec1c4e2fa0498]

git-author:
Rafaël Carré <funman@videolan.org> 1211989311 +0200
Message:

Revert "Avoid using vlc_object_find() when not needed"

This reverts commit ee6f60d7278f9d45835522eb60c247ee8bef77ac.
This case is already handled in vlc_object_find()

Files:

Legend:

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

    ree6f60d r0c9a964  
    132132    if( !config_GetInt( p_caller, "osd" ) ) return; 
    133133 
    134     if( p_caller->i_object_type == VLC_OBJECT_VOUT ) 
    135     { 
    136         p_vout = (vout_thread_t*) p_caller; 
    137         vlc_object_yield( p_vout ); 
    138     } 
    139     else 
    140         p_vout = vlc_object_find( p_caller, VLC_OBJECT_VOUT, FIND_ANYWHERE ); 
    141  
     134    p_vout = vlc_object_find( p_caller, VLC_OBJECT_VOUT, FIND_ANYWHERE ); 
    142135    if( p_vout ) 
    143136    {