[webkit-changes] [WebKit/WebKit] 9c3e31: [GStreamer] Missing check on mapped video frame va...

Philippe Normand noreply at github.com
Wed Sep 6 01:09:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9c3e31205a2df36f0fcf4fc8bf40b90da15cd00f
      https://github.com/WebKit/WebKit/commit/9c3e31205a2df36f0fcf4fc8bf40b90da15cd00f
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-09-06 (Wed, 06 Sep 2023)

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

  Log Message:
  -----------
  [GStreamer] Missing check on mapped video frame validity before pushing to compositor
https://bugs.webkit.org/show_bug.cgi?id=261144

Reviewed by Xabier Rodriguez-Calvar.

Exit early from the pushDMABufToCompositor() method if we failed to map the video frame. No need for
a dedicated warning, there is one already in gst_video_frame_map().

* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::pushDMABufToCompositor):

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




More information about the webkit-changes mailing list