[webkit-changes] [WebKit/WebKit] 772503: [GStreamer][MediaStream] http/wpt/mediastream/tran...

Philippe Normand noreply at github.com
Thu Jan 25 03:16:37 PST 2024


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

  Changed paths:
    M LayoutTests/platform/glib/TestExpectations
    M Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCapturer.cpp

  Log Message:
  -----------
  [GStreamer][MediaStream] http/wpt/mediastream/transfer-mediastreamtrack-to-worker.html asserts/fails
https://bugs.webkit.org/show_bug.cgi?id=268003

Reviewed by Xabier Rodriguez-Calvar.

The test was failing/asserting because the notified video frames were created with a zero
presentation size. By using the createWrappedSample() API the presentation size is set from the
sample caps.

* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCapturer.cpp:
(WebCore::GStreamerVideoCapturer::setSinkVideoFrameCallback):

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




More information about the webkit-changes mailing list