[webkit-changes] [WebKit/WebKit] 08d1bd: REGRESSION(259869 at main): [GStreamer][WebCodecs] 2 ...

Philippe Normand noreply at github.com
Mon Apr 3 00:54:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 08d1bd527b97d441305ea06573726e7027bf258b
      https://github.com/WebKit/WebKit/commit/08d1bd527b97d441305ea06573726e7027bf258b
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

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

  Log Message:
  -----------
  REGRESSION(259869 at main): [GStreamer][WebCodecs] 2 tests now crashing
https://bugs.webkit.org/show_bug.cgi?id=254892

Reviewed by Žan Doberšek.

Ensure the Cairo surface wrapped in the GstBuffer remains alive as long as the buffer, otherwise we
might attempt to unref/destroy a surface that was previously unreffed elsewhere.

* Source/WebCore/platform/graphics/gstreamer/VideoFrameGStreamer.cpp:
(WebCore::VideoFrame::fromNativeImage):

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




More information about the webkit-changes mailing list