[webkit-changes] [WebKit/WebKit] 13ac0f: [GStreamer][MSE] Replace raw pointer with GRefPtr ...

Philippe Normand noreply at github.com
Tue Jan 31 02:00:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 13ac0f7d87c8d065c1e07bc13a8792ac9256fdb5
      https://github.com/WebKit/WebKit/commit/13ac0f7d87c8d065c1e07bc13a8792ac9256fdb5
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-01-31 (Tue, 31 Jan 2023)

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

  Log Message:
  -----------
  [GStreamer][MSE] Replace raw pointer with GRefPtr in GStreamerMediaDescription constructor
https://bugs.webkit.org/show_bug.cgi?id=251360

Reviewed by Xabier Rodriguez-Calvar.

The caps are already stored internally as a GRefPtr, so it's safer to pass a GRefPtr to the
constructor as well.

* Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:
(WebCore::AppendPipeline::didReceiveInitializationSegment):
* Source/WebCore/platform/graphics/gstreamer/mse/GStreamerMediaDescription.h:
(WebCore::GStreamerMediaDescription::create):
(WebCore::GStreamerMediaDescription::GStreamerMediaDescription):

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




More information about the webkit-changes mailing list