Skip to content

Commit

Permalink
fix comment error
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroSG94 committed Aug 11, 2017
1 parent 282499f commit 2d5901b
Showing 1 changed file with 8 additions and 8 deletions.
Expand Up @@ -252,15 +252,15 @@ public List<Camera.Size> getPreviewSize() {
* @return max size that device can record.
*/
private Camera.Size getMaxEncoderSizeSupported() {
//if (CamcorderProfile.hasProfile(CamcorderProfile.QUALITY_2160P)) {
// return camera.new Size(3840, 2160);
//} else if (CamcorderProfile.hasProfile(CamcorderProfile.QUALITY_1080P)) {
// return camera.new Size(1920, 1080);
//} else if (CamcorderProfile.hasProfile(CamcorderProfile.QUALITY_720P)) {
// return camera.new Size(1280, 720);
//} else {
if (CamcorderProfile.hasProfile(CamcorderProfile.QUALITY_2160P)) {
return camera.new Size(3840, 2160);
} else if (CamcorderProfile.hasProfile(CamcorderProfile.QUALITY_1080P)) {
return camera.new Size(1920, 1080);
} else if (CamcorderProfile.hasProfile(CamcorderProfile.QUALITY_720P)) {
return camera.new Size(1280, 720);
} else {
return camera.new Size(640, 480);
//}
}
}

public void setEffect(EffectManager effect) {
Expand Down

0 comments on commit 2d5901b

Please sign in to comment.