Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f040d950918038bf105aee51636a8200dea6689e
      
https://github.com/WebKit/WebKit/commit/f040d950918038bf105aee51636a8200dea6689e
  Author: Philippe Normand <[email protected]>
  Date:   2025-12-11 (Thu, 11 Dec 2025)

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

  Log Message:
  -----------
  REGRESSION(303968@main): [GStreamer] flaky crash: 
media/video-played-reset.html
https://bugs.webkit.org/show_bug.cgi?id=303915

Reviewed by Xabier Rodriguez-Calvar.

The crash happened because paintToTextureMapper() was called with a non-nullopt 
m_videoFrame. We now
clear it when video frame mapping has failed, so the m_videoFrame contains a 
value only if it is
valid.

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

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



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

Reply via email to