[webkit-changes] [WebKit/WebKit] dffc4f: [GStreamer][Holepunch] Do not initialize GStreamer...

Loïc Yhuel noreply at github.com
Tue Jan 16 01:24:27 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dffc4f0ce080b06153c44e2e3ba5e9534df7bdda
      https://github.com/WebKit/WebKit/commit/dffc4f0ce080b06153c44e2e3ba5e9534df7bdda
  Author: Loïc Yhuel <loic.yhuel at 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




More information about the webkit-changes mailing list