[webkit-changes] [WebKit/WebKit] 6204c3: [WPE][Debug]: fast/mediastream/captureStream/canva...

Philippe Normand noreply at github.com
Wed Aug 9 05:31:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6204c3532ecc373c2fe9b02d948e4752e20122d9
      https://github.com/WebKit/WebKit/commit/6204c3532ecc373c2fe9b02d948e4752e20122d9
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
    M Source/WebCore/platform/graphics/gstreamer/VideoFrameGStreamer.cpp

  Log Message:
  -----------
  [WPE][Debug]: fast/mediastream/captureStream/canvas3d.html crashes with error gst_sample_get_caps: assertion 'GST_IS_SAMPLE (sample)' failed
https://bugs.webkit.org/show_bug.cgi?id=259915

Reviewed by Carlos Garcia Campos.

Report video frame conversion errors and gracefully handle them in the player.

* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::videoFrameForCurrentTime):
* Source/WebCore/platform/graphics/gstreamer/VideoFrameGStreamer.cpp:
(WebCore::VideoFrameGStreamer::convert):

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




More information about the webkit-changes mailing list