Changeset 5049 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c
- Timestamp:
- Apr 7, 2015 9:25:07 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c
r4996 r5049 1251 1251 PJSUA_LOCK(); 1252 1252 w = &pjsua_var.win[wid]; 1253 1253 1254 1254 wi->is_native = w->is_native; 1255 1255 … … 1258 1258 pjmedia_vid_dev_cap cap = PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW; 1259 1259 1260 cap_strm = pjmedia_vid_port_get_stream(w->vp_cap); 1261 if (!cap_strm) { 1260 if (!w->vp_cap) { 1262 1261 status = PJ_EINVAL; 1263 1262 } else { 1264 status = pjmedia_vid_dev_stream_get_cap(cap_strm, cap, &wi->hwnd); 1265 } 1266 1263 cap_strm = pjmedia_vid_port_get_stream(w->vp_cap); 1264 if (!cap_strm) { 1265 status = PJ_EINVAL; 1266 } else { 1267 status = pjmedia_vid_dev_stream_get_cap(cap_strm, cap, 1268 &wi->hwnd); 1269 } 1270 } 1267 1271 PJSUA_UNLOCK(); 1268 1272 return status;
Note: See TracChangeset
for help on using the changeset viewer.