mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-26 06:22:45 +00:00
Allow compatibility aliases to match preferred decoders
This commit is contained in:
parent
ee50e19dbd
commit
b94649162e
@ -614,13 +614,6 @@ public class MediaCodecHelper {
|
|||||||
if (codecInfo.isEncoder()) {
|
if (codecInfo.isEncoder()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skip compatibility aliases on Q+
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
|
|
||||||
if (codecInfo.isAlias()) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check for preferred decoders
|
// Check for preferred decoders
|
||||||
if (preferredDecoder.equalsIgnoreCase(codecInfo.getName())) {
|
if (preferredDecoder.equalsIgnoreCase(codecInfo.getName())) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user