Bug 297377
| Summary: | [visionOS] Transition from fullscreen to dock isn't as smooth as it could be | ||
|---|---|---|---|
| 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]
When we transition from fullscreen to dock, we switch from a AVSampleBufferDisplayLayer to an AVSampleBufferVideoRenderer. To transition between the two, we currently requires seeking into the video and re-enqueue all frames.
This results in slight visual pause during the transition or the last frame of the old AVSBDL and the first visible frame in the AVSBVR to not match; same going the reverse.
Now that we keep the decoded frames around, we could have the VideoMediaSampleRenderer directly enqueue the same decoded frame to both objects, eliminating the need to perform an internal seek and decodes lots of unnecessary frames.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/158274410>
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/49388
EWS
Committed 298745@main (4187f71b1153): <https://commits.webkit.org/298745@main>
Reviewed commits have been landed. Closing PR #49388 and removing active labels.