Changeset 5088 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c
- Timestamp:
- May 8, 2015 11:27:49 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c
r5049 r5088 479 479 strm = pjmedia_vid_port_get_stream(w->vp_rend); 480 480 } 481 482 481 pj_assert(strm); 482 483 /* Try to apply show/hide, window flags, and output window */ 484 483 485 status = pjmedia_vid_dev_stream_set_cap( 484 strm, PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE, 485 &hide); 486 487 pjmedia_vid_dev_stream_set_cap( 486 strm, PJMEDIA_VID_DEV_CAP_OUTPUT_HIDE, 487 &hide); 488 if (status != PJ_SUCCESS) { 489 PJ_PERROR(4,(THIS_FILE, status, 490 "Ignored error on setting window visibility " 491 "on wid=%d", wid)); 492 } 493 494 status = pjmedia_vid_dev_stream_set_cap( 488 495 strm, PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW_FLAGS, 489 496 &wnd_flags); 497 if (status != PJ_SUCCESS) { 498 PJ_PERROR(4,(THIS_FILE, status, 499 "Ignored error on setting window flags " 500 "on wid=%d", wid)); 501 } 502 503 status = pjmedia_vid_dev_stream_set_cap( 504 strm, PJMEDIA_VID_DEV_CAP_OUTPUT_WINDOW, 505 &wnd_flags); 506 if (status != PJ_SUCCESS) { 507 PJ_PERROR(4,(THIS_FILE, status, 508 "Ignored error on setting window handle " 509 "on wid=%d", wid)); 510 } 490 511 491 512 /* Done */ … … 493 514 pj_log_pop_indent(); 494 515 495 return status;516 return PJ_SUCCESS; 496 517 } 497 518 }
Note: See TracChangeset
for help on using the changeset viewer.