Title: [223119] branches/safari-604-branch/Source/WebCore
Revision
223119
Author
[email protected]
Date
2017-10-09 21:12:28 -0700 (Mon, 09 Oct 2017)

Log Message

Cherry-pick r222995. rdar://problem/34891302

Modified Paths

Diff

Modified: branches/safari-604-branch/Source/WebCore/ChangeLog (223118 => 223119)


--- branches/safari-604-branch/Source/WebCore/ChangeLog	2017-10-10 04:10:02 UTC (rev 223118)
+++ branches/safari-604-branch/Source/WebCore/ChangeLog	2017-10-10 04:12:28 UTC (rev 223119)
@@ -1,5 +1,26 @@
 2017-10-09  Jason Marcell  <[email protected]>
 
+        Cherry-pick r222995. rdar://problem/34891302
+
+    2017-10-06  Jer Noble  <[email protected]>
+
+            Netflix playback fails with S7353 error
+            https://bugs.webkit.org/show_bug.cgi?id=178023
+
+            Reviewed by Dean Jackson.
+
+            On certain platforms, WebCoreDecompressionSession will fail to produce CVImageBuffers when presented with
+            encrypted content. On those platforms, the seek() command will fail, because frames at the destination time
+            cannot be decoded. This occurs for Netflix because the <video> element is not in the DOM at decode time.
+
+            Only create a WebCoreDecompressionSession in MediaPlayerPrivateMediaSourceAVFObjC when we have explicitly
+            been asked to paint into a WebGL canvas.
+
+            * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
+            (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::acceleratedRenderingStateChanged):
+
+2017-10-09  Jason Marcell  <[email protected]>
+
         Cherry-pick r222786. rdar://problem/34820881
 
     2017-10-03  Brent Fulgham  <[email protected]>

Modified: branches/safari-604-branch/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm (223118 => 223119)


--- branches/safari-604-branch/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm	2017-10-10 04:10:02 UTC (rev 223118)
+++ branches/safari-604-branch/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm	2017-10-10 04:12:28 UTC (rev 223119)
@@ -638,7 +638,7 @@
 
 void MediaPlayerPrivateMediaSourceAVFObjC::acceleratedRenderingStateChanged()
 {
-    if (!m_hasBeenAskedToPaintGL && m_player->client().mediaPlayerRenderingCanBeAccelerated(m_player)) {
+    if (!m_hasBeenAskedToPaintGL) {
         destroyDecompressionSession();
         ensureLayer();
     } else {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to