Ignore:
Timestamp:
Jul 26, 2018 3:05:10 AM (6 years ago)
Author:
ming
Message:

Re #2126: re 5841: move the event manager creation and destruction in pjsua_media instead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c

    r5841 r5842  
    6262    } 
    6363 
    64     if (!pjmedia_event_mgr_instance()) { 
    65         status = pjmedia_event_mgr_create(pjsua_var.pool, 0, NULL); 
    66         if (status != PJ_SUCCESS) { 
    67             PJ_PERROR(1,(THIS_FILE, status, 
    68                          "Error creating PJMEDIA event manager")); 
    69             goto on_error; 
    70         } 
    71     } 
    72  
    7364    status = pjmedia_vid_codec_mgr_create(pjsua_var.pool, NULL); 
    7465    if (status != PJ_SUCCESS) { 
     
    169160    if (pjmedia_converter_mgr_instance()) 
    170161        pjmedia_converter_mgr_destroy(NULL); 
    171  
    172     if (pjmedia_event_mgr_instance()) 
    173         pjmedia_event_mgr_destroy(NULL); 
    174162 
    175163    if (pjmedia_video_format_mgr_instance()) 
Note: See TracChangeset for help on using the changeset viewer.