diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-06-25 01:10:42 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-06-25 01:10:42 +0000 |
commit | b9216af9e4214f2b4f1c3cc3102526ba6dcab92c (patch) | |
tree | e99b1603dfe3fe7cf16d5b2e415cde77979fbbdc | |
parent | 5d0ee759bccb4d0565c12ebedba1bd857846eff6 (diff) | |
parent | 97f5794202a6f882572b661403088888a86c44ad (diff) | |
download | av-b9216af9e4214f2b4f1c3cc3102526ba6dcab92c.tar.gz |
Snap for 7489879 from 97f5794202a6f882572b661403088888a86c44ad to sc-v2-release
Change-Id: I9ba1bb5da9bafd45f7d611ff9a03216cbc0c0239
-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; |