Summary: | [WK2][Cocoa] Remove use of CVPixelBufferConformer from WebContent process in MediaPlayerPrivateRemote::nativeImageForCurrentTime() | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jer Noble <jer.noble> | ||||
Component: | Media | Assignee: | Jer Noble <jer.noble> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | eric.carlson, ews-watchlist, glenn, philipj, sergio, simon.fraser, webkit-bug-importer, youennf | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Jer Noble
2022-05-04 21:35:09 PDT
Created attachment 458850 [details]
Patch
Comment on attachment 458850 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=458850&action=review > Source/WebKit/WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm:66 > if (!connection().sendSync(Messages::RemoteMediaPlayerProxy::NativeImageForCurrentTime(), Messages::RemoteMediaPlayerProxy::NativeImageForCurrentTime::Reply(sendRight, colorSpace), m_id)) This sync IPC is getting a mach send right to create an IOSurface. This will probably fail if IOKit is blocked. (In reply to youenn fablet from comment #3) > Comment on attachment 458850 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=458850&action=review > > > Source/WebKit/WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm:66 > > if (!connection().sendSync(Messages::RemoteMediaPlayerProxy::NativeImageForCurrentTime(), Messages::RemoteMediaPlayerProxy::NativeImageForCurrentTime::Reply(sendRight, colorSpace), m_id)) > > This sync IPC is getting a mach send right to create an IOSurface. > This will probably fail if IOKit is blocked. We'll have to deal with that in another patch. Committed r293839 (250312@main): <https://commits.webkit.org/250312@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 458850 [details]. |