diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:11:35 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:11:35 +0000 |
commit | 66c478c053f4fcdfbef0d99b7610f639dadc49c0 (patch) | |
tree | 886f761919f0e077eefd25bd01ba79da6ab38372 | |
parent | c6008119f93a99e1a03c45e88911ac03613236f5 (diff) | |
parent | 3098dbff844f818a245e6e2c5bbc3ae7e03a6c1b (diff) | |
download | av-android14-mainline-permission-release.tar.gz |
Snap for 10453563 from 3098dbff844f818a245e6e2c5bbc3ae7e03a6c1b to mainline-permission-releaseaml_per_341711000aml_per_341614000aml_per_341510010aml_per_341410020aml_per_341311000aml_per_341110020aml_per_341110010aml_per_341011100aml_per_341011020aml_per_340916010android14-mainline-permission-release
Change-Id: I986e73b8fb1e8484ce4afa42a3c5ea073662b034
-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; |