[webkit-changes] [WebKit/WebKit] 009d3e: [GStreamer][LibWebRTC] Keep size in decoder caps s...

Philippe Normand noreply at github.com
Mon Aug 12 06:50:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 009d3ec372658aa49cc55aa8bac4430381d524ea
      https://github.com/WebKit/WebKit/commit/009d3ec372658aa49cc55aa8bac4430381d524ea
  Author: Philippe Normand <philn at igalia.com>
  Date:   2024-08-12 (Mon, 12 Aug 2024)

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

  Log Message:
  -----------
  [GStreamer][LibWebRTC] Keep size in decoder caps synchronized with encoded image dimensions
https://bugs.webkit.org/show_bug.cgi?id=277630

Reviewed by Xabier Rodriguez-Calvar.

Update the caps of the decoder when the encoded image dimensions change. Those caps are also used by
GStreamerVideoFrameLibWebRTC and later by LibWebRTCStatsCollector. Without this change, resolution
in inbound-rtp statistics is never updated.

Based on patch from Jacek Manko <jacek.manko at consult.red>.
https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1380

* Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoDecoderFactory.cpp:
(WebCore::GStreamerWebRTCVideoDecoder::updateCapsFromImageSize):
(WebCore::GStreamerWebRTCVideoDecoder::GetCapsForFrame): Deleted.

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