summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-04 03:07:28 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-04 03:07:28 +0000
commit9208c5c16636339d2ae74e1221193da50fe13749 (patch)
tree886f761919f0e077eefd25bd01ba79da6ab38372
parent2033451c902c6172ffc4ec34ea2370a5843e4b63 (diff)
parent1885aa7e3f17d8f17b1ce75281b7171026f779c4 (diff)
downloadav-android13-qpr1-release.tar.gz
Change-Id: Ifb964b16e185302650d4ba426771900ef71a94c8
-rw-r--r--media/eco/ECOSession.cpp2
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;