Chromium Code Reviews| 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 |