commit | 0c5a750ca0e4d46b3286e41e1dfca72ae0c31ed3 | [log] [tgz] |
---|---|---|
author | Lajos Molnar <lajos@google.com> | Mon Jun 28 22:21:17 2021 -0700 |
committer | Lajos Molnar <lajos@google.com> | Mon Jun 28 22:31:07 2021 -0700 |
tree | b3910c123eea29ecc04c92ffe90c00082bf370e7 | |
parent | 598c5fd593b8f8205f6a88661ce105ad05be6bba [diff] |
media: allow 0 video encoder profiles and levels. Some of the new encoder profile and level values are 0, so allow them to be set. StagefrightRecorder already supports 0 values, and MediaRecorderTest also already tests negative value for failure. Bug: 192317919 Test: atest android.hardware.camera2.cts.RecordingTest\#testBasicEncoderProfilesRecording Change-Id: I9d286ee84c004b21830d743ad46804be456f2bc6