Ignore:
Timestamp:
Jan 17, 2017 12:50:09 AM (2 years ago)
Author:
ming
Message:

Re #1945 (misc): move default setting of number of supported video device format to pjmedia-videodev config instead of config_site_sample, since not everybody will use the sample.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia-videodev/config.h

    r5315 r5524  
    4646 * supported by a video device. 
    4747 * 
    48  * Default: 64 
     48 * Default: 128 (for Android), 64 (for others) 
    4949 */ 
    5050#ifndef PJMEDIA_VID_DEV_INFO_FMT_CNT 
    51 #   define PJMEDIA_VID_DEV_INFO_FMT_CNT 64 
     51#   if defined(PJ_ANDROID) && PJ_ANDROID != 0 
     52#       define PJMEDIA_VID_DEV_INFO_FMT_CNT 128 
     53#   else 
     54#       define PJMEDIA_VID_DEV_INFO_FMT_CNT 64 
     55#   endif 
    5256#endif 
    5357 
Note: See TracChangeset for help on using the changeset viewer.