Ignore:
Timestamp:
Dec 9, 2011 5:15:39 AM (12 years ago)
Author:
ming
Message:

Re #1420: Create a pool for the event manager so subscriber doesn't need to supply its own pool.

File:
1 edited

Legend:

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

    r3901 r3905  
    830830#if ENABLE_EVENT 
    831831            /* Register to video events */ 
    832             pjmedia_event_subscribe(NULL, w->pool, &call_media_on_event, 
     832            pjmedia_event_subscribe(NULL, &call_media_on_event, 
    833833                                    call_med, w->vp_rend); 
    834834#endif 
     
    900900            w = &pjsua_var.win[wid]; 
    901901#if ENABLE_EVENT 
    902             pjmedia_event_subscribe(NULL, w->pool, &call_media_on_event, 
     902            pjmedia_event_subscribe(NULL, &call_media_on_event, 
    903903                                    call_med, w->vp_cap); 
    904904#endif 
     
    19091909 
    19101910#if ENABLE_EVENT 
    1911     pjmedia_event_subscribe(NULL, new_w->pool, &call_media_on_event, 
     1911    pjmedia_event_subscribe(NULL, &call_media_on_event, 
    19121912                            call_med, new_w->vp_cap); 
    19131913#endif 
     
    19511951#if ENABLE_EVENT 
    19521952    /* Resubscribe */ 
    1953     pjmedia_event_subscribe(NULL, w->pool, &call_media_on_event, 
     1953    pjmedia_event_subscribe(NULL, &call_media_on_event, 
    19541954                            call_med, w->vp_cap); 
    19551955#endif 
Note: See TracChangeset for help on using the changeset viewer.