Commit 017b9dbc authored by qinmin's avatar qinmin Committed by Commit bot

Blacklist some samsung devices from MSE support

Lots of crash reports from SGS devices running JB, mostly galaxy S3
A driver bug is filed against samsung

BUG=365494

Review URL: https://codereview.chromium.org/602953002

Cr-Commit-Position: refs/heads/master@{#296572}
parent 50c6f1a0
......@@ -104,7 +104,15 @@ ToJavaIntArray(JNIEnv* env, scoped_ptr<jint[]> native_array, int size) {
// static
bool MediaCodecBridge::IsAvailable() {
// MediaCodec is only available on JB and greater.
return base::android::BuildInfo::GetInstance()->sdk_int() >= 16;
if (base::android::BuildInfo::GetInstance()->sdk_int() < 16)
return false;
// Blacklist some devices on Jellybean as for MediaCodec support is buggy.
// http://crbug.com/365494.
if (base::android::BuildInfo::GetInstance()->sdk_int() == 16) {
std::string model(base::android::BuildInfo::GetInstance()->model());
return model != "GT-I9100" && model != "GT-I9300" && model != "GT-N7000";
}
return true;
}
// static
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment