Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1e972faccb32bdd2430384bfd7b8e70053532bfa
      
https://github.com/WebKit/WebKit/commit/1e972faccb32bdd2430384bfd7b8e70053532bfa
  Author: Philippe Normand <[email protected]>
  Date:   2026-02-19 (Thu, 19 Feb 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp
    M Source/WebCore/platform/gstreamer/GStreamerQuirkQualcomm.cpp
    M Source/WebCore/platform/gstreamer/GStreamerQuirkQualcomm.h
    M Source/WebCore/platform/gstreamer/GStreamerQuirks.cpp
    M Source/WebCore/platform/gstreamer/GStreamerQuirks.h

  Log Message:
  -----------
  [GStreamer] Raw video rendering broken when Qualcomm quirk is enabled
https://bugs.webkit.org/show_bug.cgi?id=308053

Reviewed by Xabier Rodriguez-Calvar.

With the Qualcomm quirk enabled the video sink no longer had GL converters, 
which broke caps
negotiation in case the media player source element provides raw video, such as 
the MediaStream mock
video source. In order to fix this we now dynamically insert the GL converters 
using a pad probe and
checking the accept-caps query.

* Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp:
(probeCallback):
(webKitGLVideoSinkConstructed):
* Source/WebCore/platform/gstreamer/GStreamerQuirkQualcomm.cpp:
(WebCore::GStreamerQuirkQualcomm::isVideoCapsGLCompatible const):
* Source/WebCore/platform/gstreamer/GStreamerQuirkQualcomm.h:
* Source/WebCore/platform/gstreamer/GStreamerQuirks.cpp:
(WebCore::GStreamerQuirksManager::isVideoCapsGLCompatible const):
* Source/WebCore/platform/gstreamer/GStreamerQuirks.h:
(WebCore::GStreamerQuirk::videoSinkGLCapsFormat const):
(WebCore::GStreamerQuirk::isVideoCapsGLCompatible const):

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



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

Reply via email to