diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-06-25 01:07:12 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-06-25 01:07:12 +0000 |
commit | 4b986afbc79f3839456096cb483d83aa3b3ff8e8 (patch) | |
tree | e99b1603dfe3fe7cf16d5b2e415cde77979fbbdc | |
parent | 0ad1b473ad440bfd54fbab7289173be0eca70b06 (diff) | |
parent | a20206ab1c049b005d9f624f5558a28e10a63d51 (diff) | |
download | av-android12-d1-s1-release.tar.gz |
Snap for 7490979 from a20206ab1c049b005d9f624f5558a28e10a63d51 to sc-d1-releaseandroid-12.0.0_r7android-12.0.0_r6android-12.0.0_r5android-12.0.0_r4android-12.0.0_r15android-12.0.0_r14android-12.0.0_r13android-12.0.0_r12android12-d1-s6-releaseandroid12-d1-s5-releaseandroid12-d1-s4-releaseandroid12-d1-s3-releaseandroid12-d1-s2-releaseandroid12-d1-s1-releaseandroid12-d1-release
Change-Id: Icb74e6df2e703d7c04b4688abc83e9ab2874e3f7
-rw-r--r-- | media/eco/ECOSession.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/eco/ECOSession.cpp b/media/eco/ECOSession.cpp index a7b919f..ea5d552 100644 --- a/media/eco/ECOSession.cpp +++ b/media/eco/ECOSession.cpp @@ -53,10 +53,10 @@ using android::sp; // static sp<ECOSession> ECOSession::createECOSession(int32_t width, int32_t height, bool isCameraRecording) { - // Only support up to 720P. + // Only support up to 1080P. // TODO: Support the same resolution as in EAF. if (width <= 0 || height <= 0 || width > 5120 || height > 5120 || - width > 1280 * 720 / height) { + width > 1920 * 1080 / height) { ECOLOGE("Failed to create ECOSession with w: %d, h: %d, isCameraRecording: %d", width, height, isCameraRecording); return nullptr; |