[webkit-changes] [WebKit/WebKit] 33591c: [GStreamer] GL to raw video frame conversion fails

Philippe Normand noreply at github.com
Mon Nov 14 09:19:28 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 33591c40287c4728531f5d2dc0789644c1a3eb8d
      https://github.com/WebKit/WebKit/commit/33591c40287c4728531f5d2dc0789644c1a3eb8d
  Author: Philippe Normand <philn at igalia.com>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    A LayoutTests/platform/glib/fast/canvas/canvas-drawImage-hdr-video-expected.txt
    R LayoutTests/platform/gtk/fast/canvas/canvas-drawImage-hdr-video-expected.txt
    M Source/WebCore/platform/graphics/gstreamer/VideoFrameGStreamer.cpp

  Log Message:
  -----------
  [GStreamer] GL to raw video frame conversion fails
https://bugs.webkit.org/show_bug.cgi?id=247888

Reviewed by Žan Doberšek.

The gstglcolorconvert facilities only support GL to GL conversion, so for a GL to sysmem conversion
we now use the non GL converter, which is mapping GL frames implicitely with glBindBuffer.

* Source/WebCore/platform/graphics/gstreamer/VideoFrameGStreamer.cpp:
(WebCore::ensureDebugCategoryInitialized):
(WebCore::GstSampleColorConverter::singleton):
(WebCore::GstSampleColorConverter::convertSample):
(WebCore::VideoFrameGStreamer::VideoFrameGStreamer):

Canonical link: https://commits.webkit.org/256658@main




More information about the webkit-changes mailing list