[webkit-changes] [WebKit/WebKit] 087cd6: [MSE][GStreamer] Fix releasing Stream and GstStrea...

Olivier Blin noreply at github.com
Wed Jan 3 02:30:05 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 087cd6903b83fcaca5fbcc93964b279db0f83c93
      https://github.com/WebKit/WebKit/commit/087cd6903b83fcaca5fbcc93964b279db0f83c93
  Author: Olivier Blin <olivier.blin at softathome.com>
  Date:   2024-01-03 (Wed, 03 Jan 2024)

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

  Log Message:
  -----------
  [MSE][GStreamer] Fix releasing Stream and GstStream objects
https://bugs.webkit.org/show_bug.cgi?id=266758

Reviewed by Philippe Normand.

There was a circular reference between WebKitMediaSrcPadPrivate which
owns a RefPtr<Stream>, and Stream which owns a GRefPtr<GstPad> const pad.

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

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




More information about the webkit-changes mailing list