summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2022-10-06 12:02:07 -0700
committerXin Li <delphij@google.com>2022-10-06 12:02:07 -0700
commit367f65953253bf3f2cdb353e3736f9f8f32fbb1a (patch)
tree886f761919f0e077eefd25bd01ba79da6ab38372
parenta24a5a5fd6d8047af1c83f47ac22d9fc71dd5b10 (diff)
parentb40563e2e8bd8a7429fb5beb499a239939a00bae (diff)
downloadav-367f65953253bf3f2cdb353e3736f9f8f32fbb1a.tar.gz
Merge tm-qpr-dev-plus-aosp-without-vendor@9129937
Bug: 248070379 Merged-In: I08664a55a4d56769636ca099d82750db4ea57de9 Change-Id: I382b208cfe3d6bd8b7d584fb884dc5f3f6e55769
-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;