Suppress deprecation warnings

This commit is contained in:
Oliver Woodman 2014-11-13 16:08:43 +00:00
parent bc871c94a6
commit 59688397fa

View file

@ -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);