Ignore:
Timestamp:
Mar 25, 2011 8:38:26 AM (10 years ago)
Author:
bennylp
Message:

Re #1213 (Video devices):

  • Video device now opens in "best effort" mode, i.e. it may open with different size and fps than requested. The actual size and fps will be reflected in the "param" upon return. The vidport must check this against any differences, and create converter accordingly.
  • Removed const for param argument in vid_create_stream() API
  • Currently converter in vidport will not work if vidport is opened in bidir. Converter for renderer is untested
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia-videodev/videodev.h

    r3431 r3489  
    472472 
    473473/** 
    474  * Open video stream object using the specified parameters. 
     474 * Open video stream object using the specified parameters. If stream is 
     475 * created successfully, this function will return PJ_SUCCESS and the 
     476 * stream pointer will be returned in the p_strm argument. 
     477 * 
     478 * The opened stream may have been opened with different size and fps 
     479 * than the requested values in the \a param argument. Application should 
     480 * check the actual size and fps that the stream was opened with by inspecting 
     481 * the values in the \a param argument and see if they have changed. Also 
     482 * if the device ID in the \a param specifies default device, it may be 
     483 * replaced with the actual device ID upon return. 
    475484 * 
    476485 * @param param         Sound device parameters to be used for the stream. 
     
    485494 */ 
    486495PJ_DECL(pj_status_t) pjmedia_vid_dev_stream_create( 
    487                                             const pjmedia_vid_param *param, 
     496                                            pjmedia_vid_param *param, 
    488497                                            const pjmedia_vid_cb *cb, 
    489498                                            void *user_data, 
Note: See TracChangeset for help on using the changeset viewer.