Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1ccc3c445807ed9f7ebaa7ccca38ffd6e9ab7cb3
https://github.com/WebKit/WebKit/commit/1ccc3c445807ed9f7ebaa7ccca38ffd6e9ab7cb3
Author: Jean-Yves Avenard <[email protected]>
Date: 2026-10-12 (Mon, 12 Oct 2026)
Changed paths:
M Source/WebCore/platform/graphics/avfoundation/AudioVideoRendererAVFObjC.h
M Source/WebCore/platform/graphics/avfoundation/AudioVideoRendererAVFObjC.mm
Log Message:
-----------
AudioVideoRendererAVFObjC may enqueue key-blocked samples submitted before a
flush or seek
https://bugs.webkit.org/show_bug.cgi?id=326949
rdar://189588721
Reviewed by Youenn Fablet.
We now drop the blocked protectect samples when seeking or flushing.
This can't be reliably tested, a frame submitted to the renderer would be
dropped
because it would be late or if submitted out of turn would be dropped as likely
not
a keyframe.
* Source/WebCore/platform/graphics/avfoundation/AudioVideoRendererAVFObjC.h:
* Source/WebCore/platform/graphics/avfoundation/AudioVideoRendererAVFObjC.mm:
(WebCore::AudioVideoRendererAVFObjC::prepareToSeek):
(WebCore::AudioVideoRendererAVFObjC::flushVideo):
(WebCore::AudioVideoRendererAVFObjC::flushAudio):
(WebCore::AudioVideoRendererAVFObjC::flushAudioTrack):
(WebCore::AudioVideoRendererAVFObjC::removeBlockedSamples):
Canonical link: https://commits.webkit.org/323532@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications