Title: [281049] branches/safari-612.1.27.0-branch/Source/WebKit
- Revision
- 281049
- Author
- alanc...@apple.com
- Date
- 2021-08-13 15:25:39 -0700 (Fri, 13 Aug 2021)
Log Message
Cherry-pick r281044. rdar://problem/81918718
[Cocoa] RemoteMediaPlayerProxy does not receive acceleratedRenderingStateChanged() when video element switches sources
https://bugs.webkit.org/show_bug.cgi?id=229092
<rdar://81902163>
Reviewed by Eric Carlson.
Follow up to r280723; in that patch, a call to acceleratedRenderingStateChanged() was added to
the MediaPlayerPrivateRemote, but only for non-Cocoa ports. Add the same method to the constructor
for the Cocoa version as well.
* WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm:
(WebKit::MediaPlayerPrivateRemote::MediaPlayerPrivateRemote):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-612.1.27.0-branch/Source/WebKit/ChangeLog (281048 => 281049)
--- branches/safari-612.1.27.0-branch/Source/WebKit/ChangeLog 2021-08-13 22:23:15 UTC (rev 281048)
+++ branches/safari-612.1.27.0-branch/Source/WebKit/ChangeLog 2021-08-13 22:25:39 UTC (rev 281049)
@@ -1,3 +1,38 @@
+2021-08-13 Alan Coon <alanc...@apple.com>
+
+ Cherry-pick r281044. rdar://problem/81918718
+
+ [Cocoa] RemoteMediaPlayerProxy does not receive acceleratedRenderingStateChanged() when video element switches sources
+ https://bugs.webkit.org/show_bug.cgi?id=229092
+ <rdar://81902163>
+
+ Reviewed by Eric Carlson.
+
+ Follow up to r280723; in that patch, a call to acceleratedRenderingStateChanged() was added to
+ the MediaPlayerPrivateRemote, but only for non-Cocoa ports. Add the same method to the constructor
+ for the Cocoa version as well.
+
+ * WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm:
+ (WebKit::MediaPlayerPrivateRemote::MediaPlayerPrivateRemote):
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2021-08-13 Jer Noble <jer.no...@apple.com>
+
+ [Cocoa] RemoteMediaPlayerProxy does not receive acceleratedRenderingStateChanged() when video element switches sources
+ https://bugs.webkit.org/show_bug.cgi?id=229092
+ <rdar://81902163>
+
+ Reviewed by Eric Carlson.
+
+ Follow up to r280723; in that patch, a call to acceleratedRenderingStateChanged() was added to
+ the MediaPlayerPrivateRemote, but only for non-Cocoa ports. Add the same method to the constructor
+ for the Cocoa version as well.
+
+ * WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm:
+ (WebKit::MediaPlayerPrivateRemote::MediaPlayerPrivateRemote):
+
2021-08-12 Alan Coon <alanc...@apple.com>
Cherry-pick r280981. rdar://problem/81870941
Modified: branches/safari-612.1.27.0-branch/Source/WebKit/WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm (281048 => 281049)
--- branches/safari-612.1.27.0-branch/Source/WebKit/WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm 2021-08-13 22:23:15 UTC (rev 281048)
+++ branches/safari-612.1.27.0-branch/Source/WebKit/WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm 2021-08-13 22:25:39 UTC (rev 281049)
@@ -53,6 +53,8 @@
, m_id(playerIdentifier)
{
INFO_LOG(LOGIDENTIFIER);
+
+ acceleratedRenderingStateChanged();
}
#if ENABLE(VIDEO_PRESENTATION_MODE)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes