| Index: content/renderer/renderer_webkitplatformsupport_impl.cc
|
| diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| index 39ddabb858b4fbc74a4a83be56388b6add659e57..b4ff1a8497571dd04d7ae0278aaaa36b4f1b7cf7 100644
|
| --- a/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| +++ b/content/renderer/renderer_webkitplatformsupport_impl.cc
|
| @@ -432,18 +432,17 @@ RendererWebKitPlatformSupportImpl::MimeRegistry::supportsMediaMIMEType(
|
|
|
| // Check list of strict codecs to see if it is supported.
|
| if (net::IsStrictMediaMimeType(mime_type_ascii)) {
|
| - // We support the container, but no codecs were specified.
|
| - if (codecs.isNull())
|
| - return MayBeSupported;
|
| -
|
| // Check if the codecs are a perfect match.
|
| std::vector<std::string> strict_codecs;
|
| net::ParseCodecString(ToASCIIOrEmpty(codecs), &strict_codecs, false);
|
| - if (!net::IsSupportedStrictMediaMimeType(mime_type_ascii, strict_codecs))
|
| - return IsNotSupported;
|
| + if (net::IsSupportedStrictMediaMimeType(mime_type_ascii, strict_codecs))
|
| + return IsSupported;
|
|
|
| - // Good to go!
|
| - return IsSupported;
|
| + // We support the container, but no codecs were specified.
|
| + if (codecs.isNull())
|
| + return MayBeSupported;
|
| +
|
| + return IsNotSupported;
|
| }
|
|
|
| // If we don't recognize the codec, it's possible we support it.
|
|
|