[webkit-changes] [WebKit/WebKit] b74a22: [GStreamer] Harness: Support for "sometimes" sourc...

Philippe Normand noreply at github.com
Mon Jan 23 05:45:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b74a229b2b2fc662e3a25031c0d1a9d071f35f44
      https://github.com/WebKit/WebKit/commit/b74a229b2b2fc662e3a25031c0d1a9d071f35f44
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-01-23 (Mon, 23 Jan 2023)

  Changed paths:
    M Source/WebCore/platform/gstreamer/GStreamerElementHarness.cpp
    M Source/WebCore/platform/gstreamer/GStreamerElementHarness.h
    M Tools/TestWebKitAPI/CMakeLists.txt
    M Tools/TestWebKitAPI/Tests/WebCore/gstreamer/GstElementHarness.cpp

  Log Message:
  -----------
  [GStreamer] Harness: Support for "sometimes" source pads
https://bugs.webkit.org/show_bug.cgi?id=250932

Reviewed by Xabier Rodriguez-Calvar.

The harness can now work on GStreamer auto-plugger elements such as parsebin and decodebin. This
will be useful for the ImageDecoder rewrite and also potentially for the MSE "AppendPipeline".

* Source/WebCore/platform/gstreamer/GStreamerElementHarness.cpp:
(WebCore::GStreamerElementHarness::GStreamerElementHarness):
(WebCore::GStreamerElementHarness::pushBuffer):
(WebCore::GStreamerElementHarness::Stream::sendEvent):
* Source/WebCore/platform/gstreamer/GStreamerElementHarness.h:
* Tools/TestWebKitAPI/Tests/WebCore/gstreamer/GstElementHarness.cpp:
(TestWebKitAPI::TEST_F):

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




More information about the webkit-changes mailing list