Allow compatibility aliases to match preferred decoders

This commit is contained in:
Cameron Gutman 2021-04-27 17:43:19 -05:00
parent ee50e19dbd
commit b94649162e

View File

@ -614,13 +614,6 @@ public class MediaCodecHelper {
if (codecInfo.isEncoder()) {
continue;
}
// Skip compatibility aliases on Q+
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
if (codecInfo.isAlias()) {
continue;
}
}
// Check for preferred decoders
if (preferredDecoder.equalsIgnoreCase(codecInfo.getName())) {