Backed out changeset b9cc2c3f8bda (bug 1187247) because the patch this depends on was backed out a=backout

This commit is contained in:
Wes Kocher 2015-07-30 15:23:55 -07:00
parent a7aba8d86a
commit cadde3e300

View File

@ -103,7 +103,8 @@ IsTypeSupported(const nsAString& aType)
}
return NS_OK;
} else if (DecoderTraits::IsWebMType(mimeTypeUTF8)) {
if (!Preferences::GetBool("media.mediasource.webm.enabled", false)) {
if (!Preferences::GetBool("media.mediasource.webm.enabled", false) ||
Preferences::GetBool("media.mediasource.format-reader", false)) {
return NS_ERROR_DOM_NOT_SUPPORTED_ERR;
}
if (hasCodecs &&