Ignore:
Timestamp:
Jun 15, 2012 8:13:43 AM (12 years ago)
Author:
ming
Message:

Fixed #1536: Modify video port creation parameter to be set with actual creation prm on output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/vid_port.h

    r3893 r4167  
    7979 
    8080/** 
    81  * Create a video port with the specified parameter. 
     81 * Create a video port with the specified parameter. Video port may open 
     82 * the video stream with different parameter than the requested values in 
     83 * the \a prm.vidparam argument. Application can check the the values in 
     84 * the \a prm.vidparam argument to see if they have changed. 
    8285 * 
    8386 * @param pool          Pool to allocate memory from. 
    84  * @param prm           The video port parameter. 
     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. 
    8591 * @param p_vp          Pointer to receive the result. 
    8692 * 
     
    8995 */ 
    9096PJ_DECL(pj_status_t) pjmedia_vid_port_create(pj_pool_t *pool, 
    91                                              const pjmedia_vid_port_param *prm, 
     97                                             pjmedia_vid_port_param *prm, 
    9298                                             pjmedia_vid_port **p_vp); 
    9399 
Note: See TracChangeset for help on using the changeset viewer.