Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: f5d6cb2fd4ff539778a6a6b2304308a9d41a2a48
https://github.com/WebKit/WebKit/commit/f5d6cb2fd4ff539778a6a6b2304308a9d41a2a48
Author: Philippe Normand <[email protected]>
Date: 2026-02-28 (Sat, 28 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:
-----------
Cherry-pick 308196@main (76299fd18606).
https://bugs.webkit.org/show_bug.cgi?id=308550
[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
Canonical link: https://commits.webkit.org/305877.118@webkitglib/2.52
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications