mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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 the best decoder and its capabilities for the given mimeType. If there's no decoder
|
||||||
* returns null.
|
* returns null.
|
||||||
|
*
|
||||||
|
* TODO: We need to use the new object based MediaCodecList API.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
private static synchronized Pair<MediaCodecInfo, CodecCapabilities> getMediaCodecInfo(
|
private static synchronized Pair<MediaCodecInfo, CodecCapabilities> getMediaCodecInfo(
|
||||||
String mimeType) {
|
String mimeType) {
|
||||||
Pair<MediaCodecInfo, CodecCapabilities> result = codecs.get(mimeType);
|
Pair<MediaCodecInfo, CodecCapabilities> result = codecs.get(mimeType);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue