Changeset 3694 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c
- Timestamp:
- Aug 15, 2011 9:38:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c
r3684 r3694 108 108 } 109 109 110 PJ_DEF(void) 111 pjsua_call_vid_strm_op_param_default(pjsua_call_vid_strm_op_param *param) 112 { 113 pj_bzero(param, sizeof(*param)); 114 param->med_idx = -1; 115 param->dir = PJMEDIA_DIR_ENCODING_DECODING; 116 param->cap_dev = PJMEDIA_VID_DEFAULT_CAPTURE_DEV; 117 } 110 118 111 119 /***************************************************************************** … … 1561 1569 PJ_ASSERT_RETURN(call_id>=0 && call_id<(int)pjsua_var.ua_cfg.max_calls, 1562 1570 PJ_EINVAL); 1571 PJ_ASSERT_RETURN(op != PJSUA_CALL_VID_STRM_NO_OP, PJ_EINVAL); 1563 1572 1564 1573 PJSUA_LOCK(); … … 1569 1578 param_ = *param; 1570 1579 } else { 1571 param_.med_idx = -1; 1572 param_.cap_dev = PJMEDIA_VID_DEFAULT_CAPTURE_DEV; 1573 param_.dir = PJMEDIA_DIR_ENCODING_DECODING; 1580 pjsua_call_vid_strm_op_param_default(¶m_); 1574 1581 } 1575 1582
Note: See TracChangeset
for help on using the changeset viewer.