diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-03 23:07:08 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-03 23:07:08 +0000 |
commit | a1755e576deae44ba9a2f56c1a2b25107ed84a1d (patch) | |
tree | 886f761919f0e077eefd25bd01ba79da6ab38372 | |
parent | 35cdfea56df088e355226f4946084105fde8171c (diff) | |
parent | 46460e35bab1fe12c3a710eff39d9bec7daf1e56 (diff) | |
download | av-android13-d1-release.tar.gz |
Snap for 8535287 from 46460e35bab1fe12c3a710eff39d9bec7daf1e56 to tm-d1-releaseandroid-13.0.0_r9android-13.0.0_r15android-13.0.0_r14android-13.0.0_r13android-13.0.0_r11android-13.0.0_r10android13-d1-s3-releaseandroid13-d1-s2-releaseandroid13-d1-s1-releaseandroid13-d1-release
Change-Id: I41d5028e4fc386f55227b3713dcb02bd27ca0974
-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; |