[webkit-changes] [WebKit/WebKit] dc208a: [GStreamer][MSE] Fix a caps leak in AppendPipeline

Philippe Normand noreply at github.com
Wed Dec 14 01:06:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dc208a0a320c2cd21eb180ad0df9aa6d290269ce
      https://github.com/WebKit/WebKit/commit/dc208a0a320c2cd21eb180ad0df9aa6d290269ce
  Author: Philippe Normand <philn at igalia.com>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

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

  Log Message:
  -----------
  [GStreamer][MSE] Fix a caps leak in AppendPipeline
https://bugs.webkit.org/show_bug.cgi?id=249155

Reviewed by Alicia Boya Garcia.

The return value of `gst_pad_get_current_caps()` is `transfer full` so we need to adopt it.

* Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:
(WebCore::AppendPipeline::AppendPipeline):

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




More information about the webkit-changes mailing list