Title: [281044] trunk/Source/WebKit
- Revision
- 281044
- Author
- [email protected]
- Date
- 2021-08-13 15:14:28 -0700 (Fri, 13 Aug 2021)
Log Message
[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):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (281043 => 281044)
--- trunk/Source/WebKit/ChangeLog 2021-08-13 22:13:19 UTC (rev 281043)
+++ trunk/Source/WebKit/ChangeLog 2021-08-13 22:14:28 UTC (rev 281044)
@@ -1,3 +1,18 @@
+2021-08-13 Jer Noble <[email protected]>
+
+ [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-13 Alex Christensen <[email protected]>
SandboxExtension::Handle creation should return std::optional instead of bool
Modified: trunk/Source/WebKit/WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm (281043 => 281044)
--- trunk/Source/WebKit/WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm 2021-08-13 22:13:19 UTC (rev 281043)
+++ trunk/Source/WebKit/WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm 2021-08-13 22:14:28 UTC (rev 281044)
@@ -53,6 +53,8 @@
, m_id(playerIdentifier)
{
INFO_LOG(LOGIDENTIFIER);
+
+ acceleratedRenderingStateChanged();
}
#if ENABLE(VIDEO_PRESENTATION_MODE)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes