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/sdl_dev.c

    r3435 r3489  
    131131static pj_status_t sdl_factory_create_stream( 
    132132                                        pjmedia_vid_dev_factory *f, 
    133                                         const pjmedia_vid_param *param, 
     133                                        pjmedia_vid_param *param, 
    134134                                        const pjmedia_vid_cb *cb, 
    135135                                        void *user_data, 
     
    579579static pj_status_t sdl_factory_create_stream( 
    580580                                        pjmedia_vid_dev_factory *f, 
    581                                         const pjmedia_vid_param *param, 
     581                                        pjmedia_vid_param *param, 
    582582                                        const pjmedia_vid_cb *cb, 
    583583                                        void *user_data, 
Note: See TracChangeset for help on using the changeset viewer.