- Timestamp:
- Jul 14, 2011 3:47:04 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjsip/src/pjsua-lib/pjsua_vid.c
r3637 r3638 878 878 */ 879 879 880 881 /* 882 * Enumerates all video windows. 883 */ 884 PJ_DEF(pj_status_t) pjsua_vid_enum_wins( pjsua_vid_win_id wids[], 885 unsigned *count) 886 { 887 unsigned i, cnt; 888 889 cnt = 0; 890 891 for (i=0; i<PJSUA_MAX_VID_WINS && cnt <*count; ++i) { 892 pjsua_vid_win *w = &pjsua_var.win[i]; 893 if (w->type != PJSUA_WND_TYPE_NONE) 894 wids[cnt++] = i; 895 } 896 897 *count = cnt; 898 899 return PJ_SUCCESS; 900 } 901 902 880 903 /* 881 904 * Get window info. … … 980 1003 981 1004 status = pjmedia_vid_dev_stream_set_cap(s, 982 PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION, &pos);1005 PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION, pos); 983 1006 984 1007 PJSUA_UNLOCK(); … … 1013 1036 1014 1037 status = pjmedia_vid_dev_stream_set_cap(s, 1015 PJMEDIA_VID_DEV_CAP_OUTPUT_RESIZE, &size);1038 PJMEDIA_VID_DEV_CAP_OUTPUT_RESIZE, size); 1016 1039 1017 1040 PJSUA_UNLOCK();
Note: See TracChangeset
for help on using the changeset viewer.