Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 93215ecea1e953f8bdcb85bb1faf7e08513f9600 https://github.com/WebKit/WebKit/commit/93215ecea1e953f8bdcb85bb1faf7e08513f9600 Author: Jean-Yves Avenard <j...@apple.com> Date: 2025-06-27 (Fri, 27 Jun 2025)
Changed paths: M Source/WebCore/platform/graphics/cocoa/VideoMediaSampleRenderer.h M Source/WebCore/platform/graphics/cocoa/VideoMediaSampleRenderer.mm Log Message: ----------- Safari shows black UI after entering Portal Mode for MSE spatial Videos. https://bugs.webkit.org/show_bug.cgi?id=294974 rdar://153932317 Reviewed by Jer Noble. This is a regression from 295444@main. Following this change, we copied the spatial metadata to the decoded CMSampleBuffer, however it would now indicate that it has both a left and right image but we only provided the left eye image. For now, on visionOS, if the media being played contains spatial or immersive content, disable WebCoreDecompressionSession and fallback to using AVSBDL. * Source/WebCore/platform/graphics/cocoa/VideoMediaSampleRenderer.h: When enqueuing a compressed sample, also store if decompression session is to be used. * Source/WebCore/platform/graphics/cocoa/VideoMediaSampleRenderer.mm: (WebCore::VideoMediaSampleRenderer::enqueueSample): Check if content has spatial or immersive content, set flag accordingly. (WebCore::VideoMediaSampleRenderer::decodeNextSampleIfNeeded): (WebCore::VideoMediaSampleRenderer::totalVideoFrames const): use renamed member. (WebCore::VideoMediaSampleRenderer::droppedVideoFrames const): use renamed member. (WebCore::VideoMediaSampleRenderer::corruptedVideoFrames const): use renamed member. (WebCore::VideoMediaSampleRenderer::totalFrameDelay const): use renamed member. Canonical link: https://commits.webkit.org/296748@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes