Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 945c0d42a1132e844121404dd456ed393dd95709
      
https://github.com/WebKit/WebKit/commit/945c0d42a1132e844121404dd456ed393dd95709
  Author: Philippe Normand <[email protected]>
  Date:   2026-03-18 (Wed, 18 Mar 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp
    M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h
    M Source/WebCore/platform/graphics/gstreamer/VideoFrameGStreamer.h
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.cpp
    M 
Source/WebCore/platform/mediastream/gstreamer/MockRealtimeVideoSourceGStreamer.cpp
    M 
Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoFrameLibWebRTC.h
    M 
Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeOutgoingVideoSourceLibWebRTC.cpp

  Log Message:
  -----------
  [GStreamer] Add a GstMappedFrame::planeHeight() method
https://bugs.webkit.org/show_bug.cgi?id=309771

Reviewed by Xabier Rodriguez-Calvar.

Compute video frames plane height values and use them when building each 
planeData span. Using
height() for bi-planar formats like NV12 would induce over-allocation for the U 
plane.

* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp:
(WebCore::GstMappedFrame::GstMappedFrame):
(WebCore::GstMappedFrame::planeData const):
(WebCore::GstMappedFrame::planeHeight const):
* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:

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



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

Reply via email to