Skip to content

Commit 3f9d652

Browse files
author
xufuji456
committed
Feature: remove front camera flip
1 parent 9278f58 commit 3f9d652

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎Live/src/main/java/com/frank/live/camera/Camera2Helper.java‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -593,10 +593,6 @@ public void onImageAvailable(ImageReader reader) {
593593
} else {
594594
YUVUtil.YUV420pRotate180(dstData, yuvData, width, height);
595595
}
596-
// front camera need to flip
597-
if (CAMERA_ID_FRONT.equals(mCameraId)) {
598-
YUVUtil.flipYUV(dstData, yuvData, width, height);
599-
}
600596
if (camera2Listener != null) {
601597
camera2Listener.onPreviewFrame(dstData);
602598
}

0 commit comments

Comments
 (0)