Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Unified Diff: media/base/android/media_codec_util.h

Issue 1690063002: Fix mime type mappings when the unified media pipeline is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplify, test, rebase on split. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/base/android/media_codec_util.h
diff --git a/media/base/android/media_codec_util.h b/media/base/android/media_codec_util.h
index 3c2d020eea403a7f63b3ca537d8e3ff0c428f41d..95f24ccea0c37df7200b37acc012a91e95ec3de4 100644
--- a/media/base/android/media_codec_util.h
+++ b/media/base/android/media_codec_util.h
@@ -65,6 +65,14 @@ class MEDIA_EXPORT MediaCodecUtil {
static bool IsHLSPath(const GURL& url);
static bool RegisterMediaCodecUtil(JNIEnv* env);
+
+ // Indicates if the platform supports Opus or VP9. Does not check whether
+ // MediaCodec is available or can successfully be configured.
ddorwin 2016/02/17 21:18:38 Is it confusing to have these in this class then r
DaleCurtis 2016/02/18 03:58:08 Good point. Moved, though I think we'll want a bet
+ static bool PlatformHasOpusSupport();
+ static bool PlatformHasVp9Support();
+
+ // Indicates if vp8 is blacklisted on this device.
+ static bool IsVp8Blacklisted();
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698