From 18e7622287344908ae3ce02164a40336da99d664 Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Fri, 9 Dec 2011 05:15:39 +0000 Subject: 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 --- pjsip/src/pjsua-lib/pjsua_vid.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pjsip/src') 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 -- cgit v1.2.3