Changeset 4168
- Timestamp:
- Jun 18, 2012 5:59:08 AM (12 years ago)
- Location:
- pjproject/trunk/pjmedia
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/vid_port.h
r4167 r4168 79 79 80 80 /** 81 * Create a video port with the specified parameter. Video port may open81 * Create a video port with the specified parameter. When video port opens 82 82 * the video stream with different parameter than the requested values in 83 * the \a prm.vidparam argument . Application can check the the values in84 * the \a prm.vidparam argument to see if they have changed.83 * the \a prm.vidparam argument, it will automatically do the necessary 84 * conversion. 85 85 * 86 86 * @param pool Pool to allocate memory from. 87 * @param prm On input, it specifies the video port parameters 88 * to be used. On output, prm.vidparam will be set to 89 * the actual video device parameters used to open the 90 * stream. 87 * @param prm The video port parameter. 91 88 * @param p_vp Pointer to receive the result. 92 89 * … … 95 92 */ 96 93 PJ_DECL(pj_status_t) pjmedia_vid_port_create(pj_pool_t *pool, 97 pjmedia_vid_port_param *prm,94 const pjmedia_vid_port_param *prm, 98 95 pjmedia_vid_port **p_vp); 99 96 -
pjproject/trunk/pjmedia/src/pjmedia/vid_port.c
r4167 r4168 185 185 186 186 PJ_DEF(pj_status_t) pjmedia_vid_port_create( pj_pool_t *pool, 187 pjmedia_vid_port_param *prm,187 const pjmedia_vid_port_param *prm, 188 188 pjmedia_vid_port **p_vid_port) 189 189 { … … 366 366 } 367 367 368 prm->vidparam = vparam;369 368 *p_vid_port = vp; 370 369
Note: See TracChangeset
for help on using the changeset viewer.