Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f6b96d48d4b965af15371954912d4317207fbaa0
      
https://github.com/WebKit/WebKit/commit/f6b96d48d4b965af15371954912d4317207fbaa0
  Author: Gatolocoses <[email protected]>
  Date:   2026-10-14 (Wed, 14 Oct 2026)

  Changed paths:
    M 
Source/WebCore/platform/graphics/gstreamer/GStreamerVideoFrameConverter.cpp

  Log Message:
  -----------
  [GStreamer] VideoFrame from a DMABuf decoder paints as garbage: converter 
cannot read back external-oes textures
https://bugs.webkit.org/show_bug.cgi?id=327483

Reviewed by Philippe Normand.

glupload can import a DMABuf as an external-oes texture. glcolorconvert passed 
it
through untouched and gldownload failed to map it, so the converted sample 
contained
garbage. Constrain the output of glcolorconvert to a 2D texture target so the 
frame
can be downloaded.

No new tests: requires a hardware decoder producing DMABuf frames.
Tested manually with vaav1dec on WebKitGTK 2.54.0.

* Source/WebCore/platform/graphics/gstreamer/GStreamerVideoFrameConverter.cpp:
(WebCore::GStreamerVideoFrameConverter::Pipeline::Pipeline):

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Canonical link: https://commits.webkit.org/323704@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to