Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 009d3ec372658aa49cc55aa8bac4430381d524ea
      
https://github.com/WebKit/WebKit/commit/009d3ec372658aa49cc55aa8bac4430381d524ea
  Author: Philippe Normand <ph...@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.ma...@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
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to