Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Camera2: Fix for unsupported resolutions by codec.
Currently, logic for unsupported resolution for a codec is hardcoded and is limited to only H263 and 1280x720 resolution. Ideally, we should read capabilities of each codec from mediaprofiles.xml and check it against selected profile. Toast message is posted if any unsupported resolution is selected. Also skip setparameter call to HAL during recording, when orientation gets changed. Change-Id: Ife7dde725882d8217fadff7b56687cdad2c72ae4
- Loading branch information
1 parent
d8f3ede
commit d1fc90e
Showing
1 changed file
with
25 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters