commit | 84ad37f5eeb194caf8f76777f81083e033632876 | [log] [tgz] |
---|---|---|
author | Songyue Han <songyueh@google.com> | Tue Oct 08 20:24:26 2024 +0000 |
committer | Songyue Han <songyueh@google.com> | Thu Oct 24 22:04:51 2024 +0000 |
tree | c1ceb0ebd52716b5f7e9729e16a31239255c2e75 | |
parent | 3bf74ea9063ef0a9bcf8222f50782dcd476c46b8 [diff] |
CodecCapabilities: use optional instead of 0 to represent null in supports(). In theory, the sampleRate and channels can be 0. Use optional to differentiate 0 and null. Bug: 306023029 Test: MediaCodecCapabilitiesTest Change-Id: I2caea767c51dcf6be6632168b167c22673b2e843