diff options
author | Charles Chiu <chiucharles@google.com> | 2022-05-03 17:53:29 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-05-03 17:53:29 +0000 |
commit | 2e8e36d119973e8e64b754ebd02e5f147dd69928 (patch) | |
tree | 886f761919f0e077eefd25bd01ba79da6ab38372 | |
parent | 2033451c902c6172ffc4ec34ea2370a5843e4b63 (diff) | |
parent | 4e44afe5a1e160b0a7f24cb4665a595ba296d96c (diff) | |
download | av-2e8e36d119973e8e64b754ebd02e5f147dd69928.tar.gz |
Eaf, Adjust FHD size to 1920x1088(Eco service) am: 46460e35ba am: ef338e7077 am: 4e44afe5a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/av/+/17859443
Change-Id: I661559356cf5625233b5c052d0fe0f15bb172328
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | media/eco/ECOSession.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/eco/ECOSession.cpp b/media/eco/ECOSession.cpp index ea5d552..1a2e910 100644 --- a/media/eco/ECOSession.cpp +++ b/media/eco/ECOSession.cpp @@ -56,7 +56,7 @@ sp<ECOSession> ECOSession::createECOSession(int32_t width, int32_t height, bool // Only support up to 1080P. // TODO: Support the same resolution as in EAF. if (width <= 0 || height <= 0 || width > 5120 || height > 5120 || - width > 1920 * 1080 / height) { + width > 1920 * 1088 / height) { ECOLOGE("Failed to create ECOSession with w: %d, h: %d, isCameraRecording: %d", width, height, isCameraRecording); return nullptr; |