Bug 301442
| Summary: | [visionOS] We do not need to teardown the inline layer when going into docking mode | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Component: | Media | Assignee: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Jean-Yves Avenard [:jya]
In bug 301397 we added a timer to determine when the AVSampleBufferVideoRenderer should be removed and we have logic to handle delayed removal of the inline layer.
However, we do not need to delete the layer, it will be re-used as soon as we exit docking. Additionally, destroying/recreating the layer whenever we enter and exit docking mode is an unnecessary task that only complicates the logic flow of the AudioVideoRendererAVFObjC
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/163362289>
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/52972
EWS
Committed 302155@main (a538d16e6078): <https://commits.webkit.org/302155@main>
Reviewed commits have been landed. Closing PR #52972 and removing active labels.