Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dffc4f0ce080b06153c44e2e3ba5e9534df7bdda
      
https://github.com/WebKit/WebKit/commit/dffc4f0ce080b06153c44e2e3ba5e9534df7bdda
  Author: Loïc Yhuel <loic.yh...@softathome.com>
  Date:   2024-01-16 (Tue, 16 Jan 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
    M Source/WebCore/platform/graphics/holepunch/MediaPlayerPrivateHolePunch.h

  Log Message:
  -----------
  [GStreamer][Holepunch] Do not initialize GStreamer when using external 
holepunch
https://bugs.webkit.org/show_bug.cgi?id=267532

Reviewed by Philippe Normand.

When both USE(GSTREAMER) and USE(EXTERNAL_HOLEPUNCH) are enabled, when using 
the external holepunch,
bestMediaEngineForSupportParameters calls 
MediaPlayerPrivateGStreamer::supportsType, which
initializes GStreamer and the registry scanner just to tell that 
video/holepunch is not supported.

* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::supportsType):
* Source/WebCore/platform/graphics/holepunch/MediaPlayerPrivateHolePunch.h:

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to