diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 01:06:55 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 01:06:55 +0000 |
commit | 66956ecf35e1284ab0e567fde20c1814903621df (patch) | |
tree | 886f761919f0e077eefd25bd01ba79da6ab38372 | |
parent | 100d51708776da60f5b66daf8e65822e295d9209 (diff) | |
parent | 3098dbff844f818a245e6e2c5bbc3ae7e03a6c1b (diff) | |
download | av-66956ecf35e1284ab0e567fde20c1814903621df.tar.gz |
Snap for 10447354 from 3098dbff844f818a245e6e2c5bbc3ae7e03a6c1b to mainline-cellbroadcast-releaseaml_cbr_341710000aml_cbr_341610000aml_cbr_341510010aml_cbr_341410010aml_cbr_341311010aml_cbr_341110000aml_cbr_341011000aml_cbr_340914000android14-mainline-cellbroadcast-release
Change-Id: I084b4672fd6018fecad84822c1392ee2bea27b00
-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; |