Bug 295415

Summary: [MSE][GStreamer] don't push samples while seeking
Product: WebKit Reporter: Enrique Ocaña <eocanha>
Component: New BugsAssignee: Enrique Ocaña <eocanha>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Enrique Ocaña
Reported 2025-07-03 10:30:19 PDT
MediaSource::waitForTarget completes asynchronously. Even when the target time is already buffered, it still enqueues a task to compute seek time on next event loop cycle. This can lead to SourceBuffer providing media data for incorrect time, after GStreamer seek already flushed the source. For example this happens if TrackQueue::LowLevelHandler callback was posted just before the seek. See: https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1528
Attachments
Enrique Ocaña
Comment 1 2025-07-03 10:41:21 PDT
EWS
Comment 2 2025-08-07 06:13:04 PDT
Committed 298330@main (9a0ed144d412): <https://commits.webkit.org/298330@main> Reviewed commits have been landed. Closing PR #47564 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-08-07 06:14:15 PDT
Note You need to log in before you can comment on or make changes to this bug.