Merge "Rename "bitrate-control" to "bitrate-modes"" into oc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9b1a9b4fb9
@@ -2749,8 +2749,8 @@ public final class MediaCodecInfo {
|
||||
mQualityRange = Utils
|
||||
.parseIntRange(info.getString("quality-range"), mQualityRange);
|
||||
}
|
||||
if (info.containsKey("feature-bitrate-control")) {
|
||||
for (String mode: info.getString("feature-bitrate-control").split(",")) {
|
||||
if (info.containsKey("feature-bitrate-modes")) {
|
||||
for (String mode: info.getString("feature-bitrate-modes").split(",")) {
|
||||
mBitControl |= parseBitrateMode(mode);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user