2011-04-22 Jer Noble <jer.noble@apple.com>
[WebKit-https.git] / Source / WebCore / ChangeLog
index a72d992..a06c1f3 100644 (file)
@@ -1,3 +1,21 @@
+2011-04-22  Jer Noble  <jer.noble@apple.com>
+
+        Reviewed by Maciej Stachowiak.
+
+        Disable MediaPlayerPrivateAVFoundation when using old full screen mode.
+        https://bugs.webkit.org/show_bug.cgi?id=59147
+
+        Add a new isAVFoundationEnabled setting and check it before adding 
+        MediaPlayerPrivateAVFoundationObjC to the media engine registry.
+
+        * WebCore.exp.in:
+        * page/Settings.cpp:
+        * page/Settings.h:
+        (WebCore::Settings::setAVFoundationEnabled): Added.
+        (WebCore::Settings::isAVFoundationEnabled): Added.
+        * platform/graphics/MediaPlayer.cpp:
+        (WebCore::installedMediaEngines): Check the settings added above.
+
 2011-04-22  Sam Weinig  <sam@webkit.org>
 
         Reviewed by Gavin Barraclough.