| Index: media/gpu/android_video_decode_accelerator.cc
|
| diff --git a/media/gpu/android_video_decode_accelerator.cc b/media/gpu/android_video_decode_accelerator.cc
|
| index 6e371786589982a5ba4098ef709b199eef6986f5..a394e5db420b2f80f82d1c635dcd8f0191f5951d 100644
|
| --- a/media/gpu/android_video_decode_accelerator.cc
|
| +++ b/media/gpu/android_video_decode_accelerator.cc
|
| @@ -1563,12 +1563,7 @@ AndroidVideoDecodeAccelerator::GetCapabilities(
|
| Capabilities capabilities;
|
| SupportedProfiles& profiles = capabilities.supported_profiles;
|
|
|
| - // Only support VP8 on Android versions where we don't have to synchronously
|
| - // tear down the MediaCodec on surface destruction because VP8 requires
|
| - // us to completely drain the decoder before releasing it, which is difficult
|
| - // and time consuming to do while the surface is being destroyed.
|
| - if (base::android::BuildInfo::GetInstance()->sdk_int() >= 18 &&
|
| - MediaCodecUtil::IsVp8DecoderAvailable()) {
|
| + if (MediaCodecUtil::IsVp8DecoderAvailable()) {
|
| SupportedProfile profile;
|
| profile.profile = VP8PROFILE_ANY;
|
| profile.min_resolution.SetSize(0, 0);
|
|
|