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

Unified Diff: content/common/gpu/media/android_video_encode_accelerator.cc

Issue 1796393002: Remove Exynos from MediaCodec blacklist. Limit MediaTek blacklist. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: content/common/gpu/media/android_video_encode_accelerator.cc
diff --git a/content/common/gpu/media/android_video_encode_accelerator.cc b/content/common/gpu/media/android_video_encode_accelerator.cc
index c170716eb3b8c1856eaef8e5d6b4a0c4ce0c5ca3..9fa1c0756f9a7d95a8d3728f0844c07ac1b6975d 100644
--- a/content/common/gpu/media/android_video_encode_accelerator.cc
+++ b/content/common/gpu/media/android_video_encode_accelerator.cc
@@ -114,6 +114,11 @@ AndroidVideoEncodeAccelerator::GetSupportedProfiles() {
};
for (const auto& supported_codec : kSupportedCodecs) {
+ if (supported_codec.codec == media::kCodecVP8 &&
+ !media::MediaCodecUtil::IsVp8CodecAvailable()) {
+ continue;
+ }
+
if (VideoCodecBridge::IsKnownUnaccelerated(supported_codec.codec,
media::MEDIA_CODEC_ENCODER)) {
continue;

Powered by Google App Engine
This is Rietveld 408576698