diff options
author | Xin Li <delphij@google.com> | 2022-12-09 10:29:43 -0800 |
---|---|---|
committer | Xin Li <delphij@google.com> | 2022-12-09 10:29:43 -0800 |
commit | a613c00a7de2c303356c6a512238444938e052e9 (patch) | |
tree | 886f761919f0e077eefd25bd01ba79da6ab38372 | |
parent | a24a5a5fd6d8047af1c83f47ac22d9fc71dd5b10 (diff) | |
parent | 367f65953253bf3f2cdb353e3736f9f8f32fbb1a (diff) | |
download | av-a613c00a7de2c303356c6a512238444938e052e9.tar.gz |
Merge Android 13 QPR1main-16k-with-phones
Bug: 261731544
Merged-In: I51914de5151a42ce24599aded20c38580f2fab33
Change-Id: I7823186b2296adaa600b2196477e1acc6fbfc442
-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; |