[webkit-changes] [WebKit/WebKit] 277513: [LibWebRTC][GStreamer] Clean-up GstSample ownershi...

Philippe Normand noreply at github.com
Fri Feb 23 01:35:18 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 277513e286a06d87a28196e8edb74256ffb052c1
      https://github.com/WebKit/WebKit/commit/277513e286a06d87a28196e8edb74256ffb052c1
  Author: Philippe Normand <philn at igalia.com>
  Date:   2024-02-23 (Fri, 23 Feb 2024)

  Changed paths:
    M Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoDecoderFactory.cpp
    M Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoFrameLibWebRTC.cpp
    M Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoFrameLibWebRTC.h

  Log Message:
  -----------
  [LibWebRTC][GStreamer] Clean-up GstSample ownership semantics in LibWebRTC VideoFrame
https://bugs.webkit.org/show_bug.cgi?id=269903

Reviewed by Xabier Rodriguez-Calvar.

The sample reference can be moved to the VideoFrame.

* Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoDecoderFactory.cpp:
(WebCore::GStreamerVideoDecoder::pullSample):
* Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoFrameLibWebRTC.cpp:
(WebCore::convertGStreamerSampleToLibWebRTCVideoFrame):
(WebCore::GStreamerVideoFrameLibWebRTC::create):
* Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoFrameLibWebRTC.h:
(WebCore::GStreamerVideoFrameLibWebRTC::GStreamerVideoFrameLibWebRTC):

Canonical link: https://commits.webkit.org/275226@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