Bug 267326 - MediaPlayerPrivateWebM caused the seeked event to be fired before the seek has completed.
Summary: MediaPlayerPrivateWebM caused the seeked event to be fired before the seek ha...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jean-Yves Avenard [:jya]
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-01-10 03:14 PST by Jean-Yves Avenard [:jya]
Modified: 2024-03-01 05:13 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Yves Avenard [:jya] 2024-01-10 03:14:12 PST
MediaPlayerPrivateWebM::seekToTarget immediately consider the seek to have completed and resume playback before any frames have been decoded [1]

This causes the `seeked` event to be fired too early and making it difficult to perform reference test.

[1] https://searchfox.org/wubkat/rev/889804f28206ffa2dd7930e2e52df50dc4260049/Source/WebCore/platform/graphics/cocoa/MediaPlayerPrivateWebM.mm#282-286
Comment 1 Radar WebKit Bug Importer 2024-01-10 03:14:31 PST
<rdar://problem/120776794>
Comment 2 Jean-Yves Avenard [:jya] 2024-01-11 00:52:53 PST
Pull request: https://github.com/WebKit/WebKit/pull/22649
Comment 3 EWS 2024-01-16 17:48:32 PST
Committed 273109@main (925970b7979d): <https://commits.webkit.org/273109@main>

Reviewed commits have been landed. Closing PR #22649 and removing active labels.