Chromium Code Reviews| Index: content/renderer/media/rtc_video_decoder.cc |
| diff --git a/content/renderer/media/rtc_video_decoder.cc b/content/renderer/media/rtc_video_decoder.cc |
| index 0afdef07a1f693e8f1b9fc7fb82e24bd01af87f8..008f3a59350a230ad21cdb793f99d1b2078abcf3 100644 |
| --- a/content/renderer/media/rtc_video_decoder.cc |
| +++ b/content/renderer/media/rtc_video_decoder.cc |
| @@ -661,6 +661,13 @@ bool RTCVideoDecoder::IsProfileSupported(media::VideoCodecProfile profile) { |
| media::VideoDecodeAccelerator::SupportedProfiles supported_profiles = |
| factories_->GetVideoDecodeAcceleratorSupportedProfiles(); |
| + // The AndroidVDA support for VP9 and H264 is experimental, so disable it for |
|
Pawel Osciak
2015/08/08 21:00:58
Would it be possible to just have VP8 only in supp
|
| + // now. See http://crbug.com/507834 for updates. |
| +#if defined(OS_ANDROID) |
| + if (profile != media::VP8PROFILE_ANY) |
| + return false; |
| +#endif |
| + |
| for (const auto& supported_profile : supported_profiles) { |
| if (profile == supported_profile.profile) { |
| min_resolution_ = supported_profile.min_resolution; |