diff options
author | Liong Sauw Ming <ming@teluu.com> | 2011-12-09 05:15:39 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2011-12-09 05:15:39 +0000 |
commit | 18e7622287344908ae3ce02164a40336da99d664 (patch) | |
tree | 5eed515bdd4de047c23f1e3d4ca3476a93ee69c8 /pjsip/src/pjsua-lib | |
parent | 79da10cf65badc07e5ebd712f2aa43cc76844898 (diff) |
Re #1420: Create a pool for the event manager so subscriber doesn't need to supply its own pool.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3905 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsua-lib')
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_vid.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_vid.c b/pjsip/src/pjsua-lib/pjsua_vid.c index b8768c00..1ca322fd 100644 --- a/pjsip/src/pjsua-lib/pjsua_vid.c +++ b/pjsip/src/pjsua-lib/pjsua_vid.c @@ -829,7 +829,7 @@ pj_status_t video_channel_update(pjsua_call_media *call_med, #if ENABLE_EVENT /* Register to video events */ - pjmedia_event_subscribe(NULL, w->pool, &call_media_on_event, + pjmedia_event_subscribe(NULL, &call_media_on_event, call_med, w->vp_rend); #endif @@ -899,7 +899,7 @@ pj_status_t video_channel_update(pjsua_call_media *call_med, w = &pjsua_var.win[wid]; #if ENABLE_EVENT - pjmedia_event_subscribe(NULL, w->pool, &call_media_on_event, + pjmedia_event_subscribe(NULL, &call_media_on_event, call_med, w->vp_cap); #endif @@ -1908,7 +1908,7 @@ static pj_status_t call_change_cap_dev(pjsua_call *call, } #if ENABLE_EVENT - pjmedia_event_subscribe(NULL, new_w->pool, &call_media_on_event, + pjmedia_event_subscribe(NULL, &call_media_on_event, call_med, new_w->vp_cap); #endif @@ -1950,7 +1950,7 @@ on_error: #if ENABLE_EVENT /* Resubscribe */ - pjmedia_event_subscribe(NULL, w->pool, &call_media_on_event, + pjmedia_event_subscribe(NULL, &call_media_on_event, call_med, w->vp_cap); #endif |