Created
May 23, 2020 13:19
-
-
Save seventhmoon/b08870f0a7241312475777d009a4433f to your computer and use it in GitHub Desktop.
Kotlin in Kotlin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val supportedHardwareAcceleratedDecodeType = MediaCodecList(MediaCodecList.REGULAR_CODECS).codecInfos | |
.filter { !it.isEncoder && it.isHardwareAccelerated } | |
.map { it.supportedTypes.toList() } | |
.flatten() | |
.toSortedSet() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment