Branch: refs/heads/webkitglib/2.52
  Home:   https://github.com/WebKit/WebKit
  Commit: cc02c58bc58ebb205e30ce92a14c99886a786dce
      
https://github.com/WebKit/WebKit/commit/cc02c58bc58ebb205e30ce92a14c99886a786dce
  Author: Philippe Normand <[email protected]>
  Date:   2026-03-11 (Wed, 11 Mar 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp

  Log Message:
  -----------
  Cherry-pick 308455@main (60638d927b62). 
https://bugs.webkit.org/show_bug.cgi?id=308925

    [GStreamer][1.28] 
media/media-source/media-source-paint-after-display-none.html crashes
    https://bugs.webkit.org/show_bug.cgi?id=308925

    Reviewed by Xabier Rodriguez-Calvar.

    In GStreamer 1.28 the gluploader negotiates a new kind of buffer pool with 
upstream when a software
    video decoder is used, making use of the udmabuf subsystem on Linux 
platforms. With that allocator,
    deep buffer copies attempted in ::flushCurrentBuffer() fail and the new 
sample doesn't have a valid
    buffer, so that needs to be checked in ::paint() and in our VideoFrame 
implementation.

    * 
Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
    (WebCore::MediaPlayerPrivateGStreamer::paint):
    * Source/WebCore/platform/graphics/gstreamer/VideoFrameGStreamer.cpp:
    (WebCore::presentationTimeFromSample):
    (WebCore::VideoFrameGStreamer::VideoFrameGStreamer):

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

Canonical link: https://commits.webkit.org/305877.181@webkitglib/2.52



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

Reply via email to