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 a6406c15891b572edadcce5a04d40c6dde627df3..f124b148a190b0d536a197537582cc553111a2d5 100644 |
--- a/content/common/gpu/media/android_video_encode_accelerator.cc |
+++ b/content/common/gpu/media/android_video_encode_accelerator.cc |
@@ -100,7 +100,7 @@ AndroidVideoEncodeAccelerator::GetSupportedProfiles() { |
continue; |
} |
SupportedProfile profile; |
- profile.profile = media::VP8PROFILE_MAIN; |
+ profile.profile = media::VP8PROFILE_ANY; |
// Wouldn't it be nice if MediaCodec exposed the maximum capabilities of the |
// encoder? Sure would be. Too bad it doesn't. So we hard-code some |
// reasonable defaults. |
@@ -129,7 +129,7 @@ bool AndroidVideoEncodeAccelerator::Initialize( |
if (!(media::MediaCodecBridge::SupportsSetParameters() && |
format == VideoFrame::I420 && |
- output_profile == media::VP8PROFILE_MAIN)) { |
+ output_profile == media::VP8PROFILE_ANY)) { |
DLOG(ERROR) << "Unexpected combo: " << format << ", " << output_profile; |
return false; |
} |