[webkit-changes] [WebKit/WebKit] 655bca: Cherry-pick 283974 at main (4f4db5aea9b8). https://bu...

Xabier Rodríguez noreply at github.com
Fri Sep 20 01:47:17 PDT 2024


  Branch: refs/heads/webkitglib/2.46
  Home:   https://github.com/WebKit/WebKit
  Commit: 655bca1698221d697e77b0b68412d0884db1dc10
      https://github.com/WebKit/WebKit/commit/655bca1698221d697e77b0b68412d0884db1dc10
  Author: Xabier Rodriguez-Calvar <calvaris at igalia.com>
  Date:   2024-09-20 (Fri, 20 Sep 2024)

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

  Log Message:
  -----------
  Cherry-pick 283974 at main (4f4db5aea9b8). https://bugs.webkit.org/show_bug.cgi?id=279972

    [GStreamer] Do not access a null GstStructure
    https://bugs.webkit.org/show_bug.cgi?id=279972

    Reviewed by Philippe Normand.

    Stats can be null in some sinks so we avoid accessing them in that case. For the same prize we protect the access to
    null structures in the GstStructure accessors.

    * Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp:
    (WebCore::gstStructureGet):
    (WebCore::gstStructureGetString):
    (WebCore::gstStructureGetName):
    * Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
    (WebCore::MediaPlayerPrivateGStreamer::updateVideoSinkStatistics):

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

Canonical link: https://commits.webkit.org/282416.111@webkitglib/2.46



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