| 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 83593fa5901a531ba0cad6bf1bf86c8f7b03ab02..bcbcded586fe640eef2ceada4353b662f10d6be9 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_NOT_NEEDED;
|
| // 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_NOT_NEEDED)) {
|
| DLOG(ERROR) << "Unexpected combo: " << format << ", " << output_profile;
|
| return false;
|
| }
|
|
|