RESOLVED FIXED 236094
Add a helper method on VideoFullscreenManagerProxy to request video frame data
https://bugs.webkit.org/show_bug.cgi?id=236094
Summary Add a helper method on VideoFullscreenManagerProxy to request video frame data
Wenson Hsieh
Reported 2022-02-03 11:05:12 PST
.
Attachments
Depends on #236090 (11.31 KB, patch)
2022-02-03 11:16 PST, Wenson Hsieh
no flags
Depends on #236090 (11.31 KB, patch)
2022-02-03 16:58 PST, Wenson Hsieh
no flags
Wenson Hsieh
Comment 1 2022-02-03 11:16:06 PST
Created attachment 450800 [details] Depends on #236090
Eric Carlson
Comment 2 2022-02-03 14:54:15 PST
Comment on attachment 450800 [details] Depends on #236090 View in context: https://bugs.webkit.org/attachment.cgi?id=450800&action=review > Source/WebKit/UIProcess/Cocoa/VideoFullscreenManagerProxy.mm:533 > + auto* gpuProcess = GPUProcessProxy::singletonIfCreated(); > + if (!gpuProcess) { > + completionHandler({ }); > + return; > + } Nit: you might want to do this first because there's no need to find the interface of player unless the GPUP is running.
Wenson Hsieh
Comment 3 2022-02-03 16:56:23 PST
(In reply to Eric Carlson from comment #2) > Comment on attachment 450800 [details] > Depends on #236090 > > View in context: > https://bugs.webkit.org/attachment.cgi?id=450800&action=review > > > Source/WebKit/UIProcess/Cocoa/VideoFullscreenManagerProxy.mm:533 > > + auto* gpuProcess = GPUProcessProxy::singletonIfCreated(); > > + if (!gpuProcess) { > > + completionHandler({ }); > > + return; > > + } > > Nit: you might want to do this first because there's no need to find the > interface of player unless the GPUP is running. Good point! Moved this check/early return to the top.
Wenson Hsieh
Comment 4 2022-02-03 16:58:05 PST
Created attachment 450838 [details] Depends on #236090
Wenson Hsieh
Comment 5 2022-02-07 07:47:46 PST
Comment on attachment 450838 [details] Depends on #236090 Thanks for the review!
EWS
Comment 6 2022-02-07 08:03:08 PST
Committed r289221 (246906@main): <https://commits.webkit.org/246906@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 450838 [details].
Radar WebKit Bug Importer
Comment 7 2022-02-07 08:04:18 PST
Note You need to log in before you can comment on or make changes to this bug.