diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 07:17:28 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 07:17:28 +0000 |
commit | 699c1e5c3a343b021d53f440148ed1b492ac3361 (patch) | |
tree | 886f761919f0e077eefd25bd01ba79da6ab38372 | |
parent | 2033451c902c6172ffc4ec34ea2370a5843e4b63 (diff) | |
parent | 3098dbff844f818a245e6e2c5bbc3ae7e03a6c1b (diff) | |
download | av-699c1e5c3a343b021d53f440148ed1b492ac3361.tar.gz |
Snap for 10453938 from 3098dbff844f818a245e6e2c5bbc3ae7e03a6c1b to mainline-odp-releaseaml_odp_341717000aml_odp_341610000
Change-Id: I762e2b51fc76c84543099b0b89b35775c6cabfbc
-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; |