Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Unified Diff: content/renderer/renderer_webkitplatformsupport_impl.cc

Issue 254983006: Fix: Adding list of supported codecs for MP4 containers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding testcases for EME Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/renderer_webkitplatformsupport_impl.cc
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc
index aa46b53274bfdfdc3fef003131d785c03078ebe1..98307f965a7b3ffe3399ff1dea90f47738f09f2d 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.cc
+++ b/content/renderer/renderer_webkitplatformsupport_impl.cc
@@ -438,6 +438,10 @@ RendererWebKitPlatformSupportImpl::MimeRegistry::supportsMediaMIMEType(
if (net::IsSupportedStrictMediaMimeType(mime_type_ascii, strict_codecs))
return IsSupported;
+ // H.264 codecs have profile version in their names.
ddorwin 2014/04/29 17:12:54 H.264 does not match the function name.
+ if (net::IsSupportedStrictMP4MediaMimeType(mime_type_ascii, strict_codecs))
ddorwin 2014/04/29 17:12:54 You might also comment that since we do not check
+ return MayBeSupported;
+
// We support the container, but no codecs were specified.
if (codecs.isNull())
return MayBeSupported;

Powered by Google App Engine
This is Rietveld 408576698