Bug 301823
| Summary: | [GStreamer][GPUP] Video rendering to WebGL is unimplemented | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Philippe Normand <philn> |
| Component: | WebKitGTK | Assignee: | Philippe Normand <philn> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Philippe Normand
Currently RemoteGraphicsContextGLProxy::videoFrameToImage() is called and that returns null... Most likely we'd also need an implementation for RemoteGraphicsContextGLProxy::copyTextureFromVideoFrame()...
I don't know how to fix this... help welcome.
repro: https://webvideo-demo.pages.dev/
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Philippe Normand
For RemoteGraphicsContextGLProxy::videoFrameToImage() a naive fallback to the parent class seems to work. I'll leave RemoteGraphicsContextGLProxy::copyTextureFromVideoFrame() for bug 260429.
Philippe Normand
Pull request: https://github.com/WebKit/WebKit/pull/53310
EWS
Committed 302474@main (655e47a82198): <https://commits.webkit.org/302474@main>
Reviewed commits have been landed. Closing PR #53310 and removing active labels.