[webkit-changes] [WebKit/WebKit] ca26a0: [GStreamer] Use capture converter only when required

Philippe Normand noreply at github.com
Thu Jan 9 01:47:11 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ca26a0851c71871525b992f84191a428dbc2bd57
      https://github.com/WebKit/WebKit/commit/ca26a0851c71871525b992f84191a428dbc2bd57
  Author: Philippe Normand <philn at igalia.com>
  Date:   2025-01-09 (Thu, 09 Jan 2025)

  Changed paths:
    M Source/WebCore/platform/mediastream/gstreamer/GStreamerCapturer.cpp
    M Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCapturer.cpp

  Log Message:
  -----------
  [GStreamer] Use capture converter only when required
https://bugs.webkit.org/show_bug.cgi?id=285335

Reviewed by Xabier Rodriguez-Calvar.

In practice this is a micro-optimization, we just avoid using an identity element when capturing
desktop.

* Source/WebCore/platform/mediastream/gstreamer/GStreamerCapturer.cpp:
(WebCore::GStreamerCapturer::setupPipeline):
* Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCapturer.cpp:
(WebCore::GStreamerVideoCapturer::createConverter):

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



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


More information about the webkit-changes mailing list