Bug 311519
| Summary: | REGRESSION(310393@main): [WPE][GTK] Broke GStreamer 1.28 video rendering for software video decoders | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Philippe Normand <philn> |
| Component: | Platform | Assignee: | Philippe Normand <philn> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply, webkit-bug-importer, zimmermann |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=311251 | ||
Philippe Normand
At least with GStreamer 1.28 where glupload uses the udmabuf allocator. I haven't checked with 1.26 yet.
Repro: WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS=1 GST_PLUGIN_FEATURE_RANK=vah264dec:0 run-minibrowser --gtk file://$PWD/LayoutTests/media/content/test.mp4
Here YU12 (DRM_FORMAT_YUV420) is negotiated on the video sink. importYUV() fails due to a importToTexture() call returning nullptr.
Only a couple video frames are rendered, there is a lot of flickering.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Philippe Normand
This isn't an issue in 1.26 because for that scenario the sink negotiates video/x-raw(memory:GLMemory),format=I420 so not DMABuf...
Philippe Normand
Pull request: https://github.com/WebKit/WebKit/pull/62111
EWS
Committed 310641@main (22a068588490): <https://commits.webkit.org/310641@main>
Reviewed commits have been landed. Closing PR #62111 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/174158092>