Changeset 4163
- Timestamp:
- Jun 11, 2012 5:15:59 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r4136 r4163 516 516 { 517 517 pjsua_call_media *call_med = (pjsua_call_media*)user_data; 518 519 PJSUA_LOCK(); 518 pjsua_call *call = NULL; 519 pjsip_dialog *dlg = NULL; 520 521 acquire_call("med_tp_timer_cb", call_med->call->index, &call, &dlg); 520 522 521 523 call_med->tp_ready = call_med->tp_result; … … 524 526 call_med->call->secure_level, NULL); 525 527 526 PJSUA_UNLOCK(); 528 if (dlg) 529 pjsip_dlg_dec_lock(dlg); 527 530 } 528 531 … … 2103 2106 unsigned mi; 2104 2107 2105 PJSUA_LOCK();2106 2108 for (mi=0; mi<call->med_cnt; ++mi) { 2107 2109 pjsua_call_media *call_med = &call->media[mi]; … … 2112 2114 */ 2113 2115 call->async_call.med_ch_deinit = PJ_TRUE; 2114 PJSUA_UNLOCK();2115 2116 return PJ_SUCCESS; 2116 2117 } 2117 2118 } 2118 PJSUA_UNLOCK();2119 2119 2120 2120 PJ_LOG(4,(THIS_FILE, "Call %d: deinitializing media..", call_id));
Note: See TracChangeset
for help on using the changeset viewer.