Remove HEVC as a codec requiring hardware support.
authorjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Mar 2019 16:51:43 +0000 (16:51 +0000)
committerjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Mar 2019 16:51:43 +0000 (16:51 +0000)
https://bugs.webkit.org/show_bug.cgi?id=194960
<rdar://problem/47741432>

Reviewed by Eric Carlson.

* page/cocoa/SettingsBaseCocoa.mm:
(WebCore::SettingsBase::defaultMediaContentTypesRequiringHardwareSupport):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242357 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/page/cocoa/SettingsBaseCocoa.mm

index c9ce316..15886e7 100644 (file)
@@ -1,5 +1,16 @@
 2019-03-04  Jer Noble  <jer.noble@apple.com>
 
+        Remove HEVC as a codec requiring hardware support.
+        https://bugs.webkit.org/show_bug.cgi?id=194960
+        <rdar://problem/47741432>
+
+        Reviewed by Eric Carlson.
+
+        * page/cocoa/SettingsBaseCocoa.mm:
+        (WebCore::SettingsBase::defaultMediaContentTypesRequiringHardwareSupport):
+
+2019-03-04  Jer Noble  <jer.noble@apple.com>
+
         [iOS] Fullscreen "stay in page" option breaks video playback
         https://bugs.webkit.org/show_bug.cgi?id=195277
         <rdar://problem/48537317>
index 89ca139..0e413d2 100644 (file)
@@ -90,8 +90,7 @@ bool SettingsBase::defaultTextAutosizingEnabled()
 
 const String& SettingsBase::defaultMediaContentTypesRequiringHardwareSupport()
 {
-    static NeverDestroyed<String> defaultMediaContentTypes { "video/mp4;codecs=hvc1:video/mp4;codecs=hev1" };
-    return defaultMediaContentTypes;
+    return emptyString();
 }
 
 } // namespace WebCore