Ignore:
Timestamp:
Mar 25, 2011 8:38:26 AM (14 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/src/pjmedia-videodev/dshow_dev.c

    r3470 r3489  
    133133static pj_status_t dshow_factory_create_stream( 
    134134                                        pjmedia_vid_dev_factory *f, 
    135                                         const pjmedia_vid_param *param, 
     135                                        pjmedia_vid_param *param, 
    136136                                        const pjmedia_vid_cb *cb, 
    137137                                        void *user_data, 
     
    711711static pj_status_t dshow_factory_create_stream( 
    712712                                        pjmedia_vid_dev_factory *f, 
    713                                         const pjmedia_vid_param *param, 
     713                                        pjmedia_vid_param *param, 
    714714                                        const pjmedia_vid_cb *cb, 
    715715                                        void *user_data, 
Note: See TracChangeset for help on using the changeset viewer.