Changeset 3940 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c
- Timestamp:
- Jan 11, 2012 5:30:55 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c
r3925 r3940 539 539 goto on_error; 540 540 541 /* Connect capturer to the video tee */ 542 status = pjmedia_vid_port_connect(w->vp_cap, w->tee, PJ_FALSE); 543 if (status != PJ_SUCCESS) 544 goto on_error; 545 541 546 /* If device supports native preview, enable it */ 542 547 if (w->is_native) { … … 580 585 if (w->type == PJSUA_WND_TYPE_PREVIEW) { 581 586 pjmedia_port *rend_port; 582 583 status = pjmedia_vid_port_connect(w->vp_cap, w->tee, PJ_FALSE);584 if (status != PJ_SUCCESS)585 goto on_error;586 587 587 588 rend_port = pjmedia_vid_port_get_passive_port(w->vp_rend);
Note: See TracChangeset
for help on using the changeset viewer.