Assume 360p 4:3 H264 is supported from JB.

Issue: #1534
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=122742666
This commit is contained in:
olly 2016-05-19 10:05:21 -07:00 committed by Oliver Woodman
parent fb3fdb34c7
commit 83b43a6fe6

View File

@ -254,6 +254,8 @@ public final class MediaCodecUtil {
for (CodecProfileLevel profileLevel : decoderInfo.getProfileLevels()) {
result = Math.max(avcLevelToMaxFrameSize(profileLevel.level), result);
}
// We assume support for at least 360p.
result = Math.max(result, 480 * 360);
}
maxH264DecodableFrameSize = result;
}