[webkit-changes] [WebKit/WebKit] 3e91eb: [GStreamer] Remove un-needed GstBuffer reference f...

Philippe Normand noreply at github.com
Fri Sep 6 01:13:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3e91ebcecc2fccc23886be5b30fffe9a58e08b94
      https://github.com/WebKit/WebKit/commit/3e91ebcecc2fccc23886be5b30fffe9a58e08b94
  Author: Philippe Normand <philn at igalia.com>
  Date:   2024-09-06 (Fri, 06 Sep 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.cpp
    M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.h

  Log Message:
  -----------
  [GStreamer] Remove un-needed GstBuffer reference from CoordinatedPlatformLayerBufferVideo
https://bugs.webkit.org/show_bug.cgi?id=279174

Reviewed by Xabier Rodriguez-Calvar.

The mapped GstVideoFrame already keep a reference to the mapped buffer.

* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.cpp:
(WebCore::CoordinatedPlatformLayerBufferVideo::CoordinatedPlatformLayerBufferVideo):
(WebCore::CoordinatedPlatformLayerBufferVideo::createBufferIfNeeded):
(WebCore::CoordinatedPlatformLayerBufferVideo::createBufferFromGLMemory):
(WebCore::CoordinatedPlatformLayerBufferVideo::paintToTextureMapper):
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.h:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list