Ignore:
Timestamp:
Jul 30, 2015 6:23:35 AM (6 years ago)
Author:
ming
Message:

Fixed #1861: Add support for video capture orientation on Android

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-videodev/util.c

    r5118 r5138  
    169169    pjmedia_vid_dev_conv_set_rotation(conv, PJMEDIA_ORIENT_NATURAL); 
    170170 
    171     PJ_LOG(4, (THIS_FILE, "Orientation converter created: %dx%d to %dx%d", 
     171    PJ_LOG(4, (THIS_FILE, "Orientation converter created: %dx%d to %dx%d, " 
     172                          "maintain aspect ratio=%s", 
    172173                          conv_param.src.det.vid.size.w, 
    173174                          conv_param.src.det.vid.size.h, 
    174175                          conv_param.dst.det.vid.size.w, 
    175                           conv_param.dst.det.vid.size.h)); 
     176                          conv_param.dst.det.vid.size.h, 
     177                          maintain_aspect_ratio? "yes": "no")); 
    176178                           
    177179    return PJ_SUCCESS; 
Note: See TracChangeset for help on using the changeset viewer.