Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f63c6d82be9dbf666e0fe2548511704fa08446f2
https://github.com/WebKit/WebKit/commit/f63c6d82be9dbf666e0fe2548511704fa08446f2
Author: Jean-Yves Avenard <[email protected]>
Date: 2026-05-09 (Sat, 09 May 2026)
Changed paths:
M Source/WebCore/platform/graphics/AudioVideoRenderer.h
M Source/WebCore/platform/graphics/cocoa/VideoMediaSampleRenderer.mm
Log Message:
-----------
(312763@main) minimumUpcomingTime is never set for WebM, causing unbounded
decode.
https://bugs.webkit.org/show_bug.cgi?id=314365
rdar://176522504
Reviewed by Gerald Squelart.
minimumUpcomingTime wasn't supplied by the MediaPlayerPrivateWebM
and so the VideoMediaSampleRenderer would treat it as if future b-frame were
to come, never limiting the decoder.
We now make the minimumUpcomingTime argument a three-state value
instead.
No change in JS observable behaviours. Manually verified through logging
that all was behaving as expected.
* Source/WebCore/platform/graphics/AudioVideoRenderer.h:
* Source/WebCore/platform/graphics/cocoa/VideoMediaSampleRenderer.mm:
(WebCore::VideoMediaSampleRenderer::decodeNextSampleIfNeeded):
Canonical link: https://commits.webkit.org/312948@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications