[webkit-changes] [WebKit/WebKit] 4c3e2a: [GStreamer] Harness: Support for output stream cap...

Philippe Normand noreply at github.com
Fri Mar 24 03:37:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4c3e2a4865d080ae74a85e16b5882ccabde11744
      https://github.com/WebKit/WebKit/commit/4c3e2a4865d080ae74a85e16b5882ccabde11744
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M Source/WebCore/platform/gstreamer/GStreamerElementHarness.cpp
    M Source/WebCore/platform/gstreamer/GStreamerElementHarness.h

  Log Message:
  -----------
  [GStreamer] Harness: Support for output stream caps changes
https://bugs.webkit.org/show_bug.cgi?id=254332

Reviewed by Xabier Rodriguez-Calvar.

The harness was internally caching output stream pad caps but additional caps events were not taken
in account. We now clear the cached caps when the pad receives a caps event.

* Source/WebCore/platform/gstreamer/GStreamerElementHarness.cpp:
(WebCore::GStreamerElementHarness::Stream::outputCaps):
(WebCore::GStreamerElementHarness::Stream::sinkEvent):
* Source/WebCore/platform/gstreamer/GStreamerElementHarness.h:

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




More information about the webkit-changes mailing list