Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 76299fd18606bedb1445c53d44f1b5aee7334330
      
https://github.com/WebKit/WebKit/commit/76299fd18606bedb1445c53d44f1b5aee7334330
  Author: Philippe Normand <[email protected]>
  Date:   2026-02-25 (Wed, 25 Feb 2026)

  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:
  -----------
  [GStreamer][LibWebRTC] Revamp video decoder factory
https://bugs.webkit.org/show_bug.cgi?id=308550

Reviewed by Xabier Rodriguez-Calvar.

This new version performs less allocations because the reference timestamp meta 
is no longer needed.
Input buffers are no longer memdup'd either. Raw pointer usage decreased and 
various coding style
fixes were applied.

* 
Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoDecoderFactory.cpp:
(WebCore::GStreamerWebRTCVideoDecoder::GStreamerWebRTCVideoDecoder):
(WebCore::GStreamerWebRTCVideoDecoder::pipeline const):
(WebCore::GStreamerWebRTCVideoDecoder::makeElement):
(WebCore::GStreamerWebRTCVideoDecoder::updateCapsFromImageSize):
(WebCore::GStreamerWebRTCVideoDecoder::addDecoderIfSupported):
(WebCore::GStreamerWebRTCVideoDecoder::configureSupportedDecoder):
(WebCore::GStreamerWebRTCVideoDecoder::hasGStreamerDecoder):
(WebCore::VP8Decoder::Create):
(WebCore::GStreamerVideoDecoderFactory::GetSupportedFormats const):
(WebCore::GStreamerWebRTCVideoDecoder::pipeline): Deleted.
(WebCore::GStreamerWebRTCVideoDecoder::CreateFilter): Deleted.
(WebCore::GStreamerWebRTCVideoDecoder::pullSample): Deleted.
(WebCore::GStreamerWebRTCVideoDecoder::AddDecoderIfSupported): Deleted.
(WebCore::GStreamerWebRTCVideoDecoder::ConfigureSupportedDecoder): Deleted.
(WebCore::GStreamerWebRTCVideoDecoder::HasGstDecoder): Deleted.
* 
Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoFrameLibWebRTC.cpp:
(WebCore::GStreamerVideoFrameLibWebRTC::create):
* 
Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoFrameLibWebRTC.h:
(WebCore::GStreamerVideoFrameLibWebRTC::sample const):
(WebCore::GStreamerVideoFrameLibWebRTC::GStreamerVideoFrameLibWebRTC):
(WebCore::GStreamerVideoFrameLibWebRTC::sample): Deleted.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to