RESOLVED FIXED 225548
[GPUP] A small video element enters fullscreen with strange animations
https://bugs.webkit.org/show_bug.cgi?id=225548
Summary [GPUP] A small video element enters fullscreen with strange animations
Peng Liu
Reported 2021-05-07 16:29:23 PDT
[GPUP] A small video element enters fullscreen with strange animations
Attachments
Patch (25.64 KB, patch)
2021-05-07 16:47 PDT, Peng Liu
ews-feeder: commit-queue-
Fix build failures (26.83 KB, patch)
2021-05-07 17:22 PDT, Peng Liu
no flags
Fix build failures (again) (27.24 KB, patch)
2021-05-07 17:24 PDT, Peng Liu
eric.carlson: review+
Patch for landing (27.12 KB, patch)
2021-05-08 15:43 PDT, Peng Liu
no flags
Peng Liu
Comment 1 2021-05-07 16:29:57 PDT
Peng Liu
Comment 2 2021-05-07 16:47:17 PDT
Peng Liu
Comment 3 2021-05-07 17:22:16 PDT
Created attachment 428065 [details] Fix build failures
Peng Liu
Comment 4 2021-05-07 17:24:40 PDT
Created attachment 428066 [details] Fix build failures (again)
Eric Carlson
Comment 5 2021-05-08 07:55:48 PDT
Comment on attachment 428066 [details] Fix build failures (again) View in context: https://bugs.webkit.org/attachment.cgi?id=428066&action=review > Source/WebKit/WebProcess/GPU/media/cocoa/VideoLayerRemoteCocoa.mm:100 > + bool inFullscreenOrPictureInPicture = false; > + if (auto* mediaPlayerPrivateRemote = self.mediaPlayerPrivateRemote) > + inFullscreenOrPictureInPicture = mediaPlayerPrivateRemote->inVideoFullscreenOrPictureInPicture(); > + > + if (inFullscreenOrPictureInPicture) { Nit: this can be simplified slightly to if (auto* mediaPlayerPrivateRemote = self.mediaPlayerPrivateRemote; mediaPlayerPrivateRemote && mediaPlayerPrivateRemote->inVideoFullscreenOrPictureInPicture())
Peng Liu
Comment 6 2021-05-08 15:43:05 PDT
Created attachment 428093 [details] Patch for landing
Peng Liu
Comment 7 2021-05-08 15:44:03 PDT
Comment on attachment 428066 [details] Fix build failures (again) View in context: https://bugs.webkit.org/attachment.cgi?id=428066&action=review >> Source/WebKit/WebProcess/GPU/media/cocoa/VideoLayerRemoteCocoa.mm:100 >> + if (inFullscreenOrPictureInPicture) { > > Nit: this can be simplified slightly to > > if (auto* mediaPlayerPrivateRemote = self.mediaPlayerPrivateRemote; mediaPlayerPrivateRemote && mediaPlayerPrivateRemote->inVideoFullscreenOrPictureInPicture()) Good idea! Fixed.
EWS
Comment 8 2021-05-08 21:53:43 PDT
Committed r277242 (237511@main): <https://commits.webkit.org/237511@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 428093 [details].
Note You need to log in before you can comment on or make changes to this bug.