Changeset 91bf9631ce65c0e5183573810f338fe7cbc7ea1e

Show
Ignore:
Timestamp:
31/05/08 22:30:58 (5 months ago)
Author:
Rémi Denis-Courmont <rdenis@simphalempin.com>
git-committer:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1212265858 +0300
git-parent:

[c45fbbdf1014b87cc36f2cab4bb683415e123377]

git-author:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1212265858 +0300
Message:

vlc_current_object: remove, vlc_object_get does the same thing

Files:

Legend:

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

    r13a1c6b r91bf963  
    130130 
    131131static void InitDeviceValues( libvlc_int_t * ); 
    132  
    133 /***************************************************************************** 
    134  * vlc_current_object: return the current object. 
    135  ***************************************************************************** 
    136  * If i_object is non-zero, return the corresponding object. Otherwise, 
    137  * return the statically allocated p_vlc object. 
    138  *****************************************************************************/ 
    139 libvlc_int_t * vlc_current_object( int i_object ) 
    140 { 
    141     return i_object ? vlc_object_get( i_object ) : p_static_vlc; 
    142 } 
    143  
    144132 
    145133/** 
  • src/libvlc.h

    r234a17d r91bf963  
    164164 
    165165libvlc_global_data_t *vlc_global (void); 
    166 libvlc_int_t *vlc_current_object (int i_object); 
    167166 
    168167/** 
  • src/video_output/vout_intf.c

    rd666030 r91bf963  
    506506        /* Destination object-id is following object: */ 
    507507        i_id = atoi( &val.psz_string[7] ); 
    508         p_dest = ( vlc_object_t* )vlc_current_object( i_id ); 
     508        p_dest = ( vlc_object_t* )vlc_object_get( i_id ); 
    509509        if( !p_dest ) 
    510510        {