Ignore:
Timestamp:
Jun 30, 2016 6:40:10 AM (8 years ago)
Author:
ming
Message:

Re #1931: Add one more session preset to support, i.e. resolution 960x540

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-videodev/darwin_dev.m

    r5370 r5372  
    8383    { 352, 288, NULL }, 
    8484    { 640, 480, NULL }, 
     85#if !TARGET_OS_IPHONE 
     86    { 960, 540, NULL }, 
     87#endif 
    8588    { 1280, 720, NULL } 
    8689#if TARGET_OS_IPHONE 
     
    223226    darwin_sizes[idx++].preset_str = AVCaptureSessionPreset352x288; 
    224227    darwin_sizes[idx++].preset_str = AVCaptureSessionPreset640x480; 
     228#if !TARGET_OS_IPHONE 
     229    darwin_sizes[idx++].preset_str = AVCaptureSessionPreset960x540; 
     230#endif 
    225231    darwin_sizes[idx++].preset_str = AVCaptureSessionPreset1280x720; 
    226232#if TARGET_OS_IPHONE 
Note: See TracChangeset for help on using the changeset viewer.