Changeset 5128


Ignore:
Timestamp:
Jul 7, 2015 4:13:14 AM (4 years ago)
Author:
nanang
Message:

Re #1861: Fixed compile error of 'undeclared identifier PJMEDIA_VID_DEV_MAX_DEVS' when video is disabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua_internal.h

    r5125 r5128  
    483483    pjmedia_vid_dev_index vcap_dev;  /**< Capture device ID.            */ 
    484484    pjmedia_vid_dev_index vrdr_dev;  /**< Playback device ID.           */ 
     485 
    485486    /* For keeping video device settings */ 
     487#if PJSUA_HAS_VIDEO 
    486488    pj_uint32_t           vid_caps[PJMEDIA_VID_DEV_MAX_DEVS]; 
    487489    pjmedia_vid_dev_param vid_param[PJMEDIA_VID_DEV_MAX_DEVS]; 
     490#endif 
    488491 
    489492    /* File players: */ 
Note: See TracChangeset for help on using the changeset viewer.