mirror of
https://github.com/samsonjs/media.git
synced 2026-04-06 11:25:46 +00:00
Suppress deprecation warnings
This commit is contained in:
parent
bc871c94a6
commit
59688397fa
1 changed files with 3 additions and 0 deletions
|
|
@ -64,7 +64,10 @@ public class MediaCodecUtil {
|
|||
/**
|
||||
* Returns the best decoder and its capabilities for the given mimeType. If there's no decoder
|
||||
* returns null.
|
||||
*
|
||||
* TODO: We need to use the new object based MediaCodecList API.
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
private static synchronized Pair<MediaCodecInfo, CodecCapabilities> getMediaCodecInfo(
|
||||
String mimeType) {
|
||||
Pair<MediaCodecInfo, CodecCapabilities> result = codecs.get(mimeType);
|
||||
|
|
|
|||
Loading…
Reference in a new issue