summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:17:34 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:17:34 +0000
commit1313c5f9d63545a86b2a38bcd300b641846547c0 (patch)
tree886f761919f0e077eefd25bd01ba79da6ab38372
parent3e4dac2dc4b4a07d4b0536382764ddfda4adec95 (diff)
parent3098dbff844f818a245e6e2c5bbc3ae7e03a6c1b (diff)
downloadav-android14-mainline-sdkext-release.tar.gz
Snap for 10453563 from 3098dbff844f818a245e6e2c5bbc3ae7e03a6c1b to mainline-sdkext-releaseaml_sdk_341510000aml_sdk_341410000aml_sdk_341110080aml_sdk_341110000aml_sdk_341010000aml_sdk_340912010android14-mainline-sdkext-release
Change-Id: Id76d9bedd2211ffddb530b2b563d927ebcbd8f3b
-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;