From 59688397fa7800005f567faad1e91539ea270bf1 Mon Sep 17 00:00:00 2001 From: Oliver Woodman Date: Thu, 13 Nov 2014 16:08:43 +0000 Subject: [PATCH] Suppress deprecation warnings --- .../main/java/com/google/android/exoplayer/MediaCodecUtil.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/src/main/java/com/google/android/exoplayer/MediaCodecUtil.java b/library/src/main/java/com/google/android/exoplayer/MediaCodecUtil.java index 9da62a59d2..670666abc9 100644 --- a/library/src/main/java/com/google/android/exoplayer/MediaCodecUtil.java +++ b/library/src/main/java/com/google/android/exoplayer/MediaCodecUtil.java @@ -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 getMediaCodecInfo( String mimeType) { Pair result = codecs.get(mimeType);