Changeset 5b63839284565821b5aff349378eddbb9d7f1ee0

Show
Ignore:
Timestamp:
06/09/08 15:42:27 (3 months ago)
Author:
Rémi Denis-Courmont <rdenis@simphalempin.com>
git-committer:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1220708547 +0300
git-parent:

[75fb09e956a55576ff75b8cfe708efd9f98538ec]

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

vlc_cond_init: really remove useless parameter

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/vlc_threads.h

    rcce79ee r5b63839  
    134134VLC_EXPORT( int,  vlc_mutex_init_recursive, ( vlc_mutex_t * ) ); 
    135135VLC_EXPORT( void,  __vlc_mutex_destroy, ( const char *, int, vlc_mutex_t * ) ); 
    136 VLC_EXPORT( int,  __vlc_cond_init,     ( vlc_cond_t * ) ); 
     136VLC_EXPORT( int,  vlc_cond_init,     ( vlc_cond_t * ) ); 
    137137VLC_EXPORT( void,  __vlc_cond_destroy,  ( const char *, int, vlc_cond_t * ) ); 
    138138VLC_EXPORT( int, vlc_threadvar_create, (vlc_threadvar_t * , void (*) (void *) ) ); 
     
    340340 
    341341/***************************************************************************** 
    342  * vlc_cond_init: initialize a condition 
    343  *****************************************************************************/ 
    344 #define vlc_cond_init( P_THIS, P_COND )                                     \ 
    345     __vlc_cond_init( P_COND ) 
    346  
    347 /***************************************************************************** 
    348342 * vlc_cond_signal: start a thread on condition completion 
    349343 *****************************************************************************/ 
  • modules/access/dshow/dshow.cpp

    r857535c r5b63839  
    441441 
    442442    vlc_mutex_init( &p_sys->lock ); 
    443     vlc_cond_init( p_this, &p_sys->wait ); 
     443    vlc_cond_init( &p_sys->wait ); 
    444444 
    445445    /* Build directshow graph */ 
  • modules/access/dvb/http.c

    rc86ee9a r5b63839  
    9696 
    9797    vlc_mutex_init( &p_sys->httpd_mutex ); 
    98     vlc_cond_init( p_access, &p_sys->httpd_cond ); 
     98    vlc_cond_init( &p_sys->httpd_cond ); 
    9999    p_sys->b_request_frontend_info = p_sys->b_request_mmi_info = false; 
    100100    p_sys->i_httpd_timeout = 0; 
  • modules/access/rtmp/access.c

    rbe40069 r5b63839  
    158158    p_sys->p_thread->p_base_object = p_this; 
    159159 
    160     vlc_cond_init( p_sys->p_thread, &p_sys->p_thread->wait ); 
     160    vlc_cond_init( &p_sys->p_thread->wait ); 
    161161 
    162162    vlc_mutex_init( &p_sys->p_thread->lock ); 
  • modules/access_output/rtmp.c

    rbe40069 r5b63839  
    174174    } 
    175175 
    176     vlc_cond_init( p_sys->p_thread, &p_sys->p_thread->wait ); 
     176    vlc_cond_init( &p_sys->p_thread->wait ); 
    177177    vlc_mutex_init( &p_sys->p_thread->lock ); 
    178178 
  • modules/audio_output/alsa.c

    rbe40069 r5b63839  
    317317    p_sys->b_playing = false; 
    318318    p_sys->start_date = 0; 
    319     vlc_cond_init( p_aout, &p_sys->wait ); 
     319    vlc_cond_init( &p_sys->wait ); 
    320320    vlc_mutex_init( &p_sys->lock ); 
    321321 
  • modules/audio_output/auhal.c

    r7f2fcb7 r5b63839  
    11821182 
    11831183    /* Condition because SetProperty is asynchronious */ 
    1184     vlc_cond_init( p_aout, &w.cond ); 
     1184    vlc_cond_init( &w.cond ); 
    11851185    vlc_mutex_init( &w.lock ); 
    11861186    vlc_mutex_lock( &w.lock ); 
  • modules/audio_output/portaudio.c

    rbe40069 r5b63839  
    212212        pa_thread->b_error = false; 
    213213        vlc_mutex_init( &pa_thread->lock_wait ); 
    214         vlc_cond_init( p_aout, &pa_thread->wait ); 
     214        vlc_cond_init( &pa_thread->wait ); 
    215215        pa_thread->b_wait = false; 
    216216        vlc_mutex_init( &pa_thread->lock_signal ); 
    217         vlc_cond_init( p_aout, &pa_thread->signal ); 
     217        vlc_cond_init( &pa_thread->signal ); 
    218218        pa_thread->b_signal = false; 
    219219 
  • modules/codec/avcodec/encoder.c

    rbe40069 r5b63839  
    801801            pp_contexts[i]->p_context = p_sys->p_context; 
    802802            vlc_mutex_init( &pp_contexts[i]->lock ); 
    803             vlc_cond_init( p_enc, &pp_contexts[i]->cond ); 
     803            vlc_cond_init( &pp_contexts[i]->cond ); 
    804804            pp_contexts[i]->b_work = 0; 
    805805            pp_contexts[i]->b_done = 0; 
  • modules/misc/audioscrobbler.c

    r75fb09e r5b63839  
    183183 
    184184    vlc_mutex_init( &p_sys->lock ); 
    185     vlc_cond_init( p_intf, &p_sys->wait ); 
     185    vlc_cond_init( &p_sys->wait ); 
    186186 
    187187    p_playlist = pl_Yield( p_intf ); 
  • modules/stream_out/transcode.c

    r418f6bc r5b63839  
    15741574        p_sys->id_video = id; 
    15751575        vlc_mutex_init( &p_sys->lock_out ); 
    1576         vlc_cond_init( p_stream, &p_sys->cond ); 
     1576        vlc_cond_init( &p_sys->cond ); 
    15771577        memset( p_sys->pp_pics, 0, sizeof(p_sys->pp_pics) ); 
    15781578        p_sys->i_first_pic = 0; 
  • modules/video_filter/atmo/AtmoExternalCaptureInput.cpp

    r00b9584 r5b63839  
    1919{ 
    2020    m_pCurrentFramePixels = NULL; 
    21     vlc_cond_init( this->m_pAtmoThread, &m_WakeupCond ); 
     21    vlc_cond_init( &m_WakeupCond ); 
    2222    vlc_mutex_init( &m_WakeupLock ); 
    2323    msg_Dbg( m_pAtmoThread, "CAtmoExternalCaptureInput created."); 
     
    143143#ifdef _ATMO_KLUDGE_ 
    144144             vlc_cond_destroy( &m_WakeupCond ); 
    145              vlc_cond_init( m_pAtmoThread, &m_WakeupCond ); 
     145             vlc_cond_init( &m_WakeupCond ); 
    146146#endif 
    147147#endif 
  • modules/video_filter/atmo/AtmoLiveView.cpp

    r3561b9b r5b63839  
    181181                   vlc_mutex_lock( &m_TerminateLock ); 
    182182                   vlc_cond_destroy( &m_TerminateCond ); 
    183                    vlc_cond_init( m_pAtmoThread, &m_TerminateCond ); 
     183                   vlc_cond_init( &m_TerminateCond ); 
    184184                   vlc_mutex_unlock( &m_TerminateLock ); 
    185185#endif 
  • modules/video_filter/atmo/AtmoThread.cpp

    rbe40069 r5b63839  
    2323 
    2424        vlc_mutex_init( &m_TerminateLock ); 
    25         err = vlc_cond_init( m_pAtmoThread, &m_TerminateCond ); 
     25        err = vlc_cond_init( &m_TerminateCond ); 
    2626        if(err) { 
    2727           msg_Err( m_pAtmoThread, "vlc_cond_init failed %d",err); 
  • modules/visualization/goom.c

    rbe40069 r5b63839  
    184184    } 
    185185    vlc_mutex_init( &p_thread->lock ); 
    186     vlc_cond_init( p_filter, &p_thread->wait ); 
     186    vlc_cond_init( &p_thread->wait ); 
    187187 
    188188    p_thread->i_blocks = 0; 
  • src/libvlccore.sym

    rcd133b2 r5b63839  
    428428VLC_Compiler 
    429429__vlc_cond_destroy 
    430 __vlc_cond_init 
     430vlc_cond_init 
    431431vlc_config_create 
    432432vlc_config_set 
  • src/misc/block.c

    rebc680c r5b63839  
    360360 
    361361    vlc_mutex_init( &p_fifo->lock ); 
    362     vlc_cond_init( NULL, &p_fifo->wait ); 
     362    vlc_cond_init( &p_fifo->wait ); 
    363363    p_fifo->p_first = NULL; 
    364364    p_fifo->pp_last = &p_fifo->p_first; 
  • src/misc/objects.c

    rcd133b2 r5b63839  
    171171    /* Initialize mutexes and condvars */ 
    172172    vlc_mutex_init( &p_priv->lock ); 
    173     vlc_cond_init( p_new, &p_priv->wait ); 
     173    vlc_cond_init( &p_priv->wait ); 
    174174    vlc_mutex_init( &p_priv->var_lock ); 
    175175    vlc_spin_init( &p_priv->spin ); 
  • src/misc/threads.c

    rb535e99 r5b63839  
    321321 
    322322/***************************************************************************** 
    323  * vlc_cond_init: initialize a condition 
    324  *****************************************************************************/ 
    325 int __vlc_cond_init( vlc_cond_t *p_condvar ) 
     323 * vlc_cond_init: initialize a condition variable 
     324 *****************************************************************************/ 
     325int vlc_cond_init( vlc_cond_t *p_condvar ) 
    326326{ 
    327327#if defined( LIBVLC_USE_PTHREAD )