Ignore:
Timestamp:
Nov 29, 2019 4:21:17 AM (4 years ago)
Author:
ming
Message:

Fixed #2251: Deadlock between PJSUA LOCK and conference mutex

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/avi_stream.h

    r3715 r6112  
    139139 
    140140 
     141#if !DEPRECATED_FOR_TICKET_2251 
    141142/** 
    142143 * Register a callback to be called when the file reading has reached the 
     
    159160                              pj_status_t (*cb)(pjmedia_avi_stream *stream, 
    160161                                                void *usr_data)); 
     162#endif 
     163 
     164 
     165/** 
     166 * Register a callback to be called when the file reading has reached the 
     167 * end of file. If the file is set to play repeatedly, then the callback 
     168 * will be called multiple times. Note that only one callback can be  
     169 * registered for each AVI stream. 
     170 * 
     171 * @param stream        The AVI stream. 
     172 * @param user_data     User data to be specified in the callback 
     173 * @param cb            Callback to be called. Note that if 
     174 *                      application wishes to stop the playback, it 
     175 *                      can disconnect the port in the callback, and 
     176 *                      only after all connections have been removed 
     177 *                      could the application safely destroy the port. 
     178 * 
     179 * @return              PJ_SUCCESS on success. 
     180 */ 
     181PJ_DECL(pj_status_t)  
     182pjmedia_avi_stream_set_eof_cb2(pjmedia_avi_stream *stream, 
     183                               void *user_data, 
     184                               void (*cb)(pjmedia_avi_stream *stream, 
     185                                          void *usr_data)); 
     186 
    161187 
    162188/** 
Note: See TracChangeset for help on using the changeset viewer.