Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 4f4db5aea9b8871ed9daff946b54bf200c84e193 https://github.com/WebKit/WebKit/commit/4f4db5aea9b8871ed9daff946b54bf200c84e193 Author: Xabier Rodriguez-Calvar <calva...@igalia.com> Date: 2024-09-19 (Thu, 19 Sep 2024)
Changed paths: M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp Log Message: ----------- [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 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