Ignore:
Timestamp:
Apr 1, 2019 7:28:24 AM (3 years ago)
Author:
ming
Message:

Re #2187: Delay the creation of video capture until it is needed

Also in this commit: add PJSUA_LOCK() and UNLOCK() around access of pjsua_vid_win

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua_internal.h

    r5961 r5962  
    411411    pj_bool_t                    preview_running;/**< Preview is started*/ 
    412412    pj_bool_t                    is_native;     /**< Preview is by dev  */ 
    413     pj_bool_t                    cap_started;   /**< Has the capture 
    414                                                      been started?      */ 
    415413} pjsua_vid_win; 
    416414 
     
    877875 
    878876#if PJSUA_HAS_VIDEO 
    879 PJ_DECL(void) pjsua_vid_win_reset(pjsua_vid_win_id wid); 
     877void pjsua_vid_win_reset(pjsua_vid_win_id wid); 
    880878#else 
    881879#  define pjsua_vid_win_reset(wid) 
Note: See TracChangeset for help on using the changeset viewer.