Ignore:
Timestamp:
Jun 21, 2011 9:33:01 AM (13 years ago)
Author:
ming
Message:

Re #1312: Support for refreshing video device list
Add pjmedia-videodev API: pjmedia_vid_dev_refresh() and its implementation for Windows and Linux.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-videodev/sdl_dev.c

    r3590 r3592  
    186186static pj_status_t sdl_factory_init(pjmedia_vid_dev_factory *f); 
    187187static pj_status_t sdl_factory_destroy(pjmedia_vid_dev_factory *f); 
     188static pj_status_t sdl_factory_refresh(pjmedia_vid_dev_factory *f); 
    188189static unsigned    sdl_factory_get_dev_count(pjmedia_vid_dev_factory *f); 
    189190static pj_status_t sdl_factory_get_dev_info(pjmedia_vid_dev_factory *f, 
     
    227228    &sdl_factory_get_dev_info, 
    228229    &sdl_factory_default_param, 
    229     &sdl_factory_create_stream 
     230    &sdl_factory_create_stream, 
     231    &sdl_factory_refresh 
    230232}; 
    231233 
     
    354356#endif 
    355357 
     358    return PJ_SUCCESS; 
     359} 
     360 
     361/* API: refresh the list of devices */ 
     362static pj_status_t sdl_factory_refresh(pjmedia_vid_dev_factory *f) 
     363{ 
     364    PJ_UNUSED_ARG(f); 
    356365    return PJ_SUCCESS; 
    357366} 
Note: See TracChangeset for help on using the changeset viewer.